diff options
-rw-r--r-- | include/notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index b7cea629d..385062f07 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -127,7 +127,7 @@ function notifier_run($argv, $argc){ if($s) { $perm_update = array('sender' => $s[0], 'recipient' => $r[0], 'success' => false, 'deliveries' => ''); - if($cmd == 'permission_create']) + if($cmd == 'permission_create') call_hooks('permissions_create',$perm_update); else call_hooks('permissions_update',$perm_update); |