Browse Source

[ZF-9278] Zend_Validate:

- reworked finfo() detection

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21467 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
7626fdc82d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/File/Transfer/Adapter/Abstract.php

+ 1 - 1
library/Zend/File/Transfer/Adapter/Abstract.php

@@ -1287,7 +1287,7 @@ abstract class Zend_File_Transfer_Adapter_Abstract
                 $mime = @finfo_open($const, $value['options']['magicFile']);
             }
 
-            if (empty($mime) {
+            if (empty($mime)) {
                 $mime = @finfo_open($const);
             }