From a58a74c15d30ba5d4336fff7ca84136142dd35e7 Mon Sep 17 00:00:00 2001 From: Colin Devroe Date: Wed, 3 Dec 2014 11:28:39 -0500 Subject: [PATCH] Fixed an issue where a statement would be printed when no UTM variables were found in the URL. Reported by @Jariell. This fixes #73 --- application/core/Plain_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Plain_Controller.php b/application/core/Plain_Controller.php index de5abc5d..75aa03b4 100644 --- a/application/core/Plain_Controller.php +++ b/application/core/Plain_Controller.php @@ -82,7 +82,7 @@ protected function addMark($data=array()) // If utm_ is found, convert to array // Notice the _... so that words with utm do not get included if ( strpos($url_query_parameters,'utm_') === false ) { - echo '
No utm_ found.
'; + // Whoops! echo '
No utm_ found.
'; } else { parse_str($url_query_parameters,$url_query_parameters); // convert querystring to array