diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-08-23 10:22:50 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-08-23 10:22:50 +0000 |
commit | 769a31f2390471c09651a2d1b52fa497cb5d3f02 (patch) | |
tree | 8c142595696ec136ba2df597e57ce653215c4148 /includes | |
parent | 5ed066278b2c346e35a34887e046126d0ce6057b (diff) | |
download | brdo-769a31f2390471c09651a2d1b52fa497cb5d3f02.tar.gz brdo-769a31f2390471c09651a2d1b52fa497cb5d3f02.tar.bz2 |
module.inc
- Fixed bug reported by Remco.
Diffstat (limited to 'includes')
-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); |