diff --git a/classes/api/analytics.php b/classes/api/analytics.php index d3caab0..3209c51 100644 --- a/classes/api/analytics.php +++ b/classes/api/analytics.php @@ -45,7 +45,7 @@ abstract class analytics { */ private static function might_encode($input, $encode) { if (!$encode) { - return $input; + return str_replace("'", "\'", $input); } return urlencode($input);