FIX php5.3

This commit is contained in:
Krivchikov Dmitry 2016-04-30 23:44:29 +03:00
parent ae483eb352
commit 6bcee5e1c8
1 changed files with 4 additions and 2 deletions

View File

@ -178,8 +178,10 @@ class ApiController extends Controller
App::error404();
}
$categories = self::getCategories()['data'];
$points = self::getPoints($data)['data'];
$categories = self::getCategories();
$categories = $categories['data'];
$points = self::getPoints($data);
$points = $points['data'];
$dataset = array(
'categories' => $categories,