From c5596bac09844488ea52ef588dbe77ced1ff6932 Mon Sep 17 00:00:00 2001 From: quba Date: Sat, 17 May 2014 18:52:44 +0200 Subject: [PATCH] Fix tracking actions with empty page titles using MySQL 5.6+. --- core/Tracker/Action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Tracker/Action.php b/core/Tracker/Action.php index a739cc77548..63a93c1ec38 100644 --- a/core/Tracker/Action.php +++ b/core/Tracker/Action.php @@ -267,7 +267,7 @@ public function record($idVisit, $visitorIdCookie, $idReferrerActionUrl, $idRefe } foreach($this->actionIdsCached as $field => $idAction) { - $visitAction[$field] = $idAction; + $visitAction[$field] = ($idAction === false) ? 0 : $idAction; } $customValue = $this->getCustomFloatValue();