Code

Updated msgPool for templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:39:51 +0000 (10:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:39:51 +0000 (10:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9667 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/smarty/plugins/function.msgPool.php

index d8688ddd92f03e4c8a3f1c624e5f2078df724cf5..c9c0275a6df853795533a8d24dce2ebb6821713f 100644 (file)
@@ -10,7 +10,7 @@ function smarty_function_msgPool($params, &$smarty)
                        }
                }
                if(is_callable("msgPool::".$params['type'])){
-                       echo call_user_func_array("msgPool::".$params['type'], $parameter);
+                       echo call_user_func_array(array("msgPool",$params['type']), $parameter);
                }else{
                        trigger_error("Unknown msgPool function ".$params['type']);
                }