Fix for php 7.0

This commit is contained in:
Deon George 2016-08-25 23:21:56 +10:00
parent 6415652743
commit 898371c849

View File

@ -117,7 +117,7 @@ class Kohana_Pagination {
$config['group'] = (string) $group;
// Recursively load requested config groups
while (isset($config['group']) AND isset($config_file->$config['group']))
while (isset($config['group']) AND isset($config_file->{$config['group']}))
{
// Temporarily store config group name
$group = $config['group'];