aboutsummaryrefslogtreecommitdiffstats
path: root/util/fresh
diff options
context:
space:
mode:
Diffstat (limited to 'util/fresh')
-rwxr-xr-xutil/fresh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fresh b/util/fresh
index edcab2eb7..0775755b2 100755
--- a/util/fresh
+++ b/util/fresh
@@ -114,8 +114,8 @@ function process_command($line) {
echo "Permission denied.";
break;
}
- if(argc > 1) {
- for($x = 1; $x < argc; $x ++) {
+ if(argc() > 1) {
+ for($x = 1; $x < argc(); $x ++) {
$r = q("select * from abook left join xchan on abook_xchan = xchan_hash where abook_id = %d and abook_channel = %d",
intval(argv($x)),
intval(local_user())