diff options
Diffstat (limited to 'includes/module.inc')
-rw-r--r-- | includes/module.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc index 2843e5547..cbbb1b18d 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -11,7 +11,7 @@ function module_iterate($function, $argument = "") { } // invoke hook $hook of module $name with optional arguments: -function module_invoke($name, $hook, $argument = "") { +function module_invoke($name, $hook, $argument = 0) { $function = $name ."_". $hook; return function_exists($function) ? $function($argument) : $argument; } |