AntonLV 8 ani în urmă
părinte
comite
08ba974a68
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      template/scripts/BxBaseFunctions.php

+ 1 - 1
template/scripts/BxBaseFunctions.php

@@ -516,7 +516,7 @@ class BxBaseFunctions extends BxDolFactory implements iBxDolSingleton
 
         $aMethods = get_class_methods($this);
         foreach($aMethods as $sMethod)
-            if(substr($sMethod, 0, strlen($sPrefix)) == $sPrefix)
+            if(preg_match("/^(" . $sPrefix . ")[A-Z].+$/", $sMethod))
                 $sContent .= $this->$sMethod();
 
         return $sContent;