Parcourir la source

empty prefix means ""

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16109 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas il y a 16 ans
Parent
commit
1b7222b5da
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      library/Zend/Loader/PluginLoader.php

+ 3 - 0
library/Zend/Loader/PluginLoader.php

@@ -122,6 +122,9 @@ class Zend_Loader_PluginLoader implements Zend_Loader_PluginLoader_Interface
      */
     protected function _formatPrefix($prefix)
     {
+    	if($prefix == "") {
+    		return $prefix;
+    	}
         return rtrim($prefix, '_') . '_';
     }