Skip to content

Commit

Permalink
Merge pull request matomo-org#220 from quba/patch-3
Browse files Browse the repository at this point in the history
Thanks for the PR, good find and nice to know this is fixed.
  • Loading branch information
Matthieu Aubry committed Feb 6, 2014
2 parents b8e93ed + a299347 commit efeff67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Goals/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function deleteGoal($idSite, $idGoal)
WHERE idsite = ?
AND idgoal = ?",
array($idSite, $idGoal));
Db::deleteAllRows(Common::prefixTable("log_conversion"), "WHERE idgoal = ?", "idvisit", 100000, array($idGoal));
Db::deleteAllRows(Common::prefixTable("log_conversion"), "WHERE idgoal = ? AND idsite = ?", "idvisit", 100000, array($idGoal, $idSite));
Cache::regenerateCacheWebsiteAttributes($idSite);
}

Expand Down

0 comments on commit efeff67

Please sign in to comment.