aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/tagger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index 11d1f81d7..9c36a8b09 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -18,7 +18,7 @@ function tagger_content(&$a) {
if(! $term)
return;
- $item_id = (($a->argc > 1) ? notags(trim($a->argv[1])) : 0);
+ $item_id = ((argc() > 1) ? notags(trim(argv(1))) : 0);
logger('tagger: tag ' . $term . ' item ' . $item_id);