summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-08-23 10:22:50 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-08-23 10:22:50 +0000
commit769a31f2390471c09651a2d1b52fa497cb5d3f02 (patch)
tree8c142595696ec136ba2df597e57ce653215c4148 /includes
parent5ed066278b2c346e35a34887e046126d0ce6057b (diff)
downloadbrdo-769a31f2390471c09651a2d1b52fa497cb5d3f02.tar.gz
brdo-769a31f2390471c09651a2d1b52fa497cb5d3f02.tar.bz2
module.inc
- Fixed bug reported by Remco.
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc2
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);