Просмотр исходного кода

[GENERIC] Zend_Validate:

- fix for the fix

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20409 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 лет назад
Родитель
Сommit
2347e48c95
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      library/Zend/Validate/File/MimeType.php

+ 2 - 2
library/Zend/Validate/File/MimeType.php

@@ -314,8 +314,8 @@ class Zend_Validate_File_MimeType extends Zend_Validate_Abstract
             unset($mime);
         }
 
-        if (empty($this->_type)) &&
-            (function_exists('mime_content_type') && ini_get('mime_magic.magicfile')) {
+        if (empty($this->_type) &&
+            (function_exists('mime_content_type') && ini_get('mime_magic.magicfile'))) {
                 $this->_type = mime_content_type($value);
         }