Commit 034a51d3b6f8f82e0ee65f1796eaaad2bf283284
1 parent
87c724f6
ga output
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/GaController.php
@@ -78,7 +78,7 @@ class GaController extends CrudResourceController { | @@ -78,7 +78,7 @@ class GaController extends CrudResourceController { | ||
78 | 78 | ||
79 | $response = $analytics->reports->batchGet($body); | 79 | $response = $analytics->reports->batchGet($body); |
80 | 80 | ||
81 | - $response = $response->__get("modelData"); | 81 | + $response = $response->modelData; |
82 | 82 | ||
83 | $obj = $response->toSimpleObject(); | 83 | $obj = $response->toSimpleObject(); |
84 | $obj = $obj->reports[0]['data']['rows']; | 84 | $obj = $obj->reports[0]['data']['rows']; |