From 9791b548f2069cd9c65742433908f78a86d310b3 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 17 Feb 2017 22:12:32 +0200 Subject: [PATCH] ga output --- app/library/App/Controllers/GaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/App/Controllers/GaController.php b/app/library/App/Controllers/GaController.php index 32f0799..057e45c 100644 --- a/app/library/App/Controllers/GaController.php +++ b/app/library/App/Controllers/GaController.php @@ -38,7 +38,7 @@ class GaController extends CrudResourceController { if (true) { $projects = Project::find(['user_id' => $user_id]); foreach ($projects as $project) { - $view_id = string($project->ga_view_id); + $view_id = (string)$project->ga_view_id; $result[] = $this->sendGaRequest($view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date); } } -- libgit2 0.21.4