diff options
| author | Bruno Ais <brunoaiss@gmail.com> | 2012-11-28 19:36:13 +0000 |
|---|---|---|
| committer | Bruno Ais <brunoaiss@gmail.com> | 2012-11-28 19:36:13 +0000 |
| commit | a4cc07617726bffd4c64cdebaa2e20a463990c5d (patch) | |
| tree | cbf9a1efab6249aebabbd8ede6943a2f6a32707d | |
| parent | 1f9eaa1c56ec909bde82e1d7ad86079cd23f46bc (diff) | |
| download | forums-a4cc07617726bffd4c64cdebaa2e20a463990c5d.tar forums-a4cc07617726bffd4c64cdebaa2e20a463990c5d.tar.gz forums-a4cc07617726bffd4c64cdebaa2e20a463990c5d.tar.bz2 forums-a4cc07617726bffd4c64cdebaa2e20a463990c5d.tar.xz forums-a4cc07617726bffd4c64cdebaa2e20a463990c5d.zip | |
[ticket/10601] Requested code changes
- Renamed the comment to PHPBB3-10601
- Removed backslashes
- Traded double quotes into single quotes inside.
PHPBB3-10601
| -rw-r--r-- | phpBB/install/database_update.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 1dae3e566b..eed484dfae 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -2753,9 +2753,9 @@ function change_database_data(&$no_updates, $version) // ticket/10601: Make inbox default. Add basename to ucp's pm category // Check if this was already applied $sql = 'SELECT module_id, module_basename, parent_id, left_id, right_id - FROM ' . MODULES_TABLE . ' - WHERE module_basename = "ucp_pm" - ORDER BY module_id'; + FROM ' . MODULES_TABLE . " + WHERE module_basename = 'ucp_pm' + ORDER BY module_id"; $result = $db->sql_query_limit($sql, 1); if ($row = $db->sql_fetchrow($result)) @@ -2765,9 +2765,9 @@ function change_database_data(&$no_updates, $version) { // This update is still not applied. Applying it - $sql = 'UPDATE ' . MODULES_TABLE . ' - SET module_basename = \'ucp_pm\' - WHERE module_id = ' . (int) $row['parent_id']; + $sql = 'UPDATE ' . MODULES_TABLE . " + SET module_basename = 'ucp_pm' + WHERE module_id = " . (int) $row['parent_id']; _sql($sql, $errored, $error_ary); |
