DataObjects/Core_notify_recur.php
[Pman.Core] / JsCompile.php
index f4cd77c..84a609e 100644 (file)
@@ -81,7 +81,7 @@ class Pman_Core_JsCompile  extends Pman
      *
      */
     
-    function jsSort($a,$b)
+    static function jsSort($a,$b)
     {
         $a = substr($a, 0, -3);
         $b=  substr($b, 0, -3);
@@ -122,7 +122,7 @@ class Pman_Core_JsCompile  extends Pman
         }
         $tf = 
         // sort exc. the .js
-        usort($ofiles,create_function('$a,$b', 'return Pman_Core_JsCompile($a,$b);'));
+        usort($ofiles,create_function('$a,$b', 'return Pman_Core_JsCompile::jsSort($a,$b);'));
         
         //print_R($ofiles);