From bd6b65ed8d5b662ca4ca2fa8b82d03a630dfdb86 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 12 Jan 2013 23:02:40 -0800 Subject: typo --- util/fresh | 4 ++-- 1 file 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()) -- cgit v1.2.3