diff mgallery.inc.php @ 77:fcfd635d7abf

Oops, fix format string callback functions ..
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 14 Sep 2016 20:57:30 +0300
parents 111d7cfd9a11
children b8c6e3909972
line wrap: on
line diff
--- a/mgallery.inc.php	Wed Sep 14 18:14:31 2016 +0300
+++ b/mgallery.inc.php	Wed Sep 14 20:57:30 2016 +0300
@@ -299,7 +299,7 @@
       $vtmp = $val;
 
     if (is_callable($func))
-      $val = call_user_func($func, $vtmp);
+      $vtmp = call_user_func($func, $vtmp);
 
     $str = str_replace("%".$i, $vtmp, $str);
   }