diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/ping.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ping.php b/mod/ping.php index 2d52e9731..cf4b65c90 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -47,7 +47,7 @@ function ping_init(&$a) { killme(); } - if($a->argc > 1 && $a->argv[1] === 'notify') { + if($argc() > 1 && $argv(1) === 'notify') { $t = q("select count(*) as total from notify where uid = %d and seen = 0", intval(local_user()) ); |