aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-12 23:02:40 -0800
committerfriendica <info@friendica.com>2013-01-12 23:02:40 -0800
commitbd6b65ed8d5b662ca4ca2fa8b82d03a630dfdb86 (patch)
treecf9d5f2fff98ff587abd6e0b0715b45e2d2822c1
parent740edcfdb64f81265b523832ce14e9a11f693939 (diff)
downloadvolse-hubzilla-bd6b65ed8d5b662ca4ca2fa8b82d03a630dfdb86.tar.gz
volse-hubzilla-bd6b65ed8d5b662ca4ca2fa8b82d03a630dfdb86.tar.bz2
volse-hubzilla-bd6b65ed8d5b662ca4ca2fa8b82d03a630dfdb86.zip
typo
-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())