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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-05 14:17:41 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-05 14:17:41 +0400
commit5402183fde4529f9e36b92e67db7b06e3c2ca6d1 (patch)
tree12cbf74fbd43b2c3842a0af4272168650bb1541e /plugins/Dashboard
parentcedf7a63dea728811049a40da28fc4cc5a18e548 (diff)
Fixes #1304 Piwik_Query accepts bind parameters but Piwik_Exec doesn't, was causing deleting a user to issue an error
Diffstat (limited to 'plugins/Dashboard')
-rw-r--r--plugins/Dashboard/Dashboard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dashboard/Dashboard.php b/plugins/Dashboard/Dashboard.php
index ef13bbeac6..1f0369ef20 100644
--- a/plugins/Dashboard/Dashboard.php
+++ b/plugins/Dashboard/Dashboard.php
@@ -53,7 +53,7 @@ class Piwik_Dashboard extends Piwik_Plugin
function deleteDashboardLayout($notification)
{
$userLogin = $notification->getNotificationObject();
- Piwik_Exec('DELETE FROM ' . Piwik::prefixTable('user_dashboard') . ' WHERE login = ?', array($userLogin));
+ Piwik_Query('DELETE FROM ' . Piwik::prefixTable('user_dashboard') . ' WHERE login = ?', array($userLogin));
}
public function install()