Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2015-05-07 01:13:28 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2015-05-07 01:13:28 +0300
commit081b4049bee1a0db7b1883b24f8c3d18af0a06ca (patch)
treea032c40f6b3851fea3bf09f88f337823553b2faa
parent6b55de62c00228055969a1d6908d6e40eb4d48cf (diff)
put table name in quotes
-rw-r--r--core/Updates/2.13.1.php2
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