Browse Source

[ZF-7209]Missing require_once 'Zend/Serach/Lucene/Exception.php'

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16543 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 years ago
parent
commit
ceddd7a7a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      library/Zend/Search/Lucene/Document.php

+ 1 - 0
library/Zend/Search/Lucene/Document.php

@@ -100,6 +100,7 @@ class Zend_Search_Lucene_Document
     public function getField($fieldName)
     {
         if (!array_key_exists($fieldName, $this->_fields)) {
+            require_once 'Zend/Search/Lucene/Exception.php';
             throw new Zend_Search_Lucene_Exception("Field name \"$fieldName\" not found in document.");
         }
         return $this->_fields[$fieldName];