diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2015-05-07 01:13:28 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2015-05-07 01:13:28 +0300 |
commit | 081b4049bee1a0db7b1883b24f8c3d18af0a06ca (patch) | |
tree | a032c40f6b3851fea3bf09f88f337823553b2faa | |
parent | 6b55de62c00228055969a1d6908d6e40eb4d48cf (diff) |
put table name in quotes
-rw-r--r-- | core/Updates/2.13.1.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Updates/2.13.1.php b/core/Updates/2.13.1.php index f69361a3b4..8cb01ad22c 100644 --- a/core/Updates/2.13.1.php +++ b/core/Updates/2.13.1.php @@ -25,7 +25,7 @@ class Updates_2_13_1 extends Updates static function getSql() { $optionTable = Common::prefixTable('option'); - $removeEmptyDefaultReportsSql = "delete from $optionTable where option_name like '%defaultReport%' and option_value=''"; + $removeEmptyDefaultReportsSql = "delete from `$optionTable` where option_name like '%defaultReport%' and option_value=''"; return array( $removeEmptyDefaultReportsSql => false |