From 108a2ccbd52942919cc4575ecaf7cdf91406d3e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 24 Jan 2017 17:55:31 +0100 Subject: [PATCH] added more spaces/curly braces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- update.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/update.php b/update.php index fd6548d9a8..8f581559d9 100644 --- a/update.php +++ b/update.php @@ -567,7 +567,6 @@ function update_1069() { q("ALTER TABLE `fcontact` ADD `request` CHAR( 255 ) NOT NULL AFTER `photo` "); } -/// @TODO Still meeded? // mail body needs to accomodate private photos function update_1070() { @@ -596,7 +595,7 @@ function update_1074() { q("ALTER TABLE `user` ADD `hidewall` TINYINT( 1) NOT NULL DEFAULT '0' AFTER `blockwall` "); $r = q("SELECT `uid` FROM `profile` WHERE `is-default` = 1 AND `hidewall` = 1"); if (dbm::is_result($r)) { - foreach($r as $rr) + foreach ($r as $rr) q("UPDATE `user` SET `hidewall` = 1 WHERE `uid` = %d", intval($rr['uid']) ); @@ -895,7 +894,7 @@ function update_1102() { function update_1103() { -/// @TODO Comented out: +/// @TODO Commented out: // q("ALTER TABLE `item` ADD INDEX ( `wall` ) "); q("ALTER TABLE `item` ADD FULLTEXT ( `tag` ) "); q("ALTER TABLE `contact` ADD INDEX ( `pending` ) "); @@ -1041,7 +1040,7 @@ function update_1120() { $r = q("describe item"); if (dbm::is_result($r)) { - foreach($r as $rr) { + foreach ($r as $rr) { if ($rr['Field'] == 'spam') { return; } -- 2.39.5