Commit 9791b548f2069cd9c65742433908f78a86d310b3
1 parent
d756f913
ga output
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
... | ... | @@ -38,7 +38,7 @@ class GaController extends CrudResourceController { |
38 | 38 | if (true) { |
39 | 39 | $projects = Project::find(['user_id' => $user_id]); |
40 | 40 | foreach ($projects as $project) { |
41 | - $view_id = string($project->ga_view_id); | |
41 | + $view_id = (string)$project->ga_view_id; | |
42 | 42 | $result[] = $this->sendGaRequest($view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date); |
43 | 43 | } |
44 | 44 | } | ... | ... |