소스 검색

Zend_Pdf: destinations/actions processing minor fix. Closes [ZF-7479].

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17423 44c647ce-9c0f-0410-b52a-842ac1e357ba
alexander 16 년 전
부모
커밋
c32299f60c
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      library/Zend/Pdf/Target.php

+ 1 - 4
library/Zend/Pdf/Target.php

@@ -55,10 +55,7 @@ abstract class Zend_Pdf_Target
             }
             }
         }
         }
 
 
-        if ($resource->getType() == Zend_Pdf_Element::TYPE_DICTIONARY) {
-            // Load destination as appropriate action
-            return Zend_Pdf_Action::load($resource);
-        } else if ($resource->getType() == Zend_Pdf_Element::TYPE_ARRAY  ||
+        if ($resource->getType() == Zend_Pdf_Element::TYPE_ARRAY  ||
                    $resource->getType() == Zend_Pdf_Element::TYPE_NAME   ||
                    $resource->getType() == Zend_Pdf_Element::TYPE_NAME   ||
                    $resource->getType() == Zend_Pdf_Element::TYPE_STRING) {
                    $resource->getType() == Zend_Pdf_Element::TYPE_STRING) {
             // Resource is an array, just treat it as an explicit destination array
             // Resource is an array, just treat it as an explicit destination array