From 769a31f2390471c09651a2d1b52fa497cb5d3f02 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 23 Aug 2001 10:22:50 +0000 Subject: [PATCH] module.inc - Fixed bug reported by Remco. --- includes/module.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/module.inc b/includes/module.inc index 38deae94001..651c2e4047a 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);