aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-10 14:50:19 -0800
committerfriendica <info@friendica.com>2015-02-10 14:50:19 -0800
commit9a773b45e498330cba20717d3f2d5c2e1a3683b0 (patch)
treeeab3556f19899e743102f91b3130cf3f2c68becb
parent4632d30a786863d4ecb33fc651f49076d0006386 (diff)
parent14d3aa02ff6307daced8c80ddf06a13643684373 (diff)
downloadvolse-hubzilla-9a773b45e498330cba20717d3f2d5c2e1a3683b0.tar.gz
volse-hubzilla-9a773b45e498330cba20717d3f2d5c2e1a3683b0.tar.bz2
volse-hubzilla-9a773b45e498330cba20717d3f2d5c2e1a3683b0.zip
Merge https://github.com/friendica/red into pending_merge
-rw-r--r--install/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 8ce50926a..2c9e54ff9 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1518,7 +1518,7 @@ function update_r1133() {
PRIMARY KEY (xp_id) )");
$r2 = 0;
foreach(array('xp_client', 'xp_channel', 'xp_perm') as $fld)
- $r2 += (empty(q("create index $fld on xperm ($fld)")) ? 0 : 1);
+ $r2 += ((q("create index $fld on xperm ($fld)") == false) ? 0 : 1);
$r = (($r1 && $r2) ? true : false);
}