diff options
-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 38deae940..651c2e404 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, $a1 = 0, $a2 = 0) { +function module_invoke($name, $hook, $a1 = NULL, $a2 = NULL) { $function = $name ."_". $hook; if (function_exists($function)) { return $function($a1, $a2); |