aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-26 21:52:53 -0700
committerzotlabs <mike@macgirvin.com>2016-10-26 21:52:53 -0700
commit2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02 (patch)
treeb74ba12a675b9866465eb05034a6f2bd6f397986 /install/update.php
parentd46fe209865d4b45bb4a27ec70744ee50a178dc7 (diff)
parent9e46409517c2f2fe1929d3332445aa8d8674c5ab (diff)
downloadvolse-hubzilla-2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02.tar.gz
volse-hubzilla-2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02.tar.bz2
volse-hubzilla-2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/update.php b/install/update.php
index fc6641c55..7e7104b74 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1095,7 +1095,7 @@ function update_r1097() {
$r = q("select hubloc_id, hubloc_addr from hubloc where hubloc_addr like '%%/%%'");
if($r) {
foreach($r as $rr) {
- q("update hubloc set hubloc_addr = '%s' where hubloc_id = %d limit 1",
+ q("update hubloc set hubloc_addr = '%s' where hubloc_id = %d",
dbesc(substr($rr['hubloc_addr'],0,strpos($rr['hubloc_addr'],'/'))),
intval($rr['hubloc_id'])
);
@@ -2462,4 +2462,4 @@ function update_r1183() {
if($r1 && $r2)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
-} \ No newline at end of file
+}