Explorar o código

empty prefix means ""

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16109 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas %!s(int64=17) %!d(string=hai) anos
pai
achega
1b7222b5da
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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, '_') . '_';
     }