aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-13 20:53:34 -0700
committerfriendica <info@friendica.com>2014-10-13 20:53:34 -0700
commitbd4dd85fbbe7bb0bc36b8a7d51e991ef3b5770fa (patch)
treecf2c42bc45247de47e29cbe2312c2560d97ba154 /include
parent8a907a789f080ccae45e5b44d0bc43ed65477e07 (diff)
downloadvolse-hubzilla-bd4dd85fbbe7bb0bc36b8a7d51e991ef3b5770fa.tar.gz
volse-hubzilla-bd4dd85fbbe7bb0bc36b8a7d51e991ef3b5770fa.tar.bz2
volse-hubzilla-bd4dd85fbbe7bb0bc36b8a7d51e991ef3b5770fa.zip
there's the problem
Diffstat (limited to 'include')
-rw-r--r--include/zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index ff3bacafe..aea8a992a 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1838,7 +1838,7 @@ function sync_locations($sender,$arr,$absolute = false) {
if((($r[0]['hubloc_flags'] & HUBLOC_FLAGS_PRIMARY) && (! $location['primary']))
|| ((! ($r[0]['hubloc_flags'] & HUBLOC_FLAGS_PRIMARY)) && ($location['primary']))) {
- $r = q("update hubloc set hubloc_flags = (hubloc_flags ^ %d), hubloc_updated = '%s' where hubloc_id = %d limit 1",
+ $m = q("update hubloc set hubloc_flags = (hubloc_flags ^ %d), hubloc_updated = '%s' where hubloc_id = %d limit 1",
intval(HUBLOC_FLAGS_PRIMARY),
dbesc(datetime_convert()),
intval($r[0]['hubloc_id'])
@@ -1849,7 +1849,7 @@ function sync_locations($sender,$arr,$absolute = false) {
}
if((($r[0]['hubloc_flags'] & HUBLOC_FLAGS_DELETED) && (! $location['deleted']))
|| ((! ($r[0]['hubloc_flags'] & HUBLOC_FLAGS_DELETED)) && ($location['deleted']))) {
- $r = q("update hubloc set hubloc_flags = (hubloc_flags ^ %d), hubloc_updated = '%s' where hubloc_id = %d limit 1",
+ $n = q("update hubloc set hubloc_flags = (hubloc_flags ^ %d), hubloc_updated = '%s' where hubloc_id = %d limit 1",
intval(HUBLOC_FLAGS_DELETED),
dbesc(datetime_convert()),
intval($r[0]['hubloc_id'])