Skip to content

Commit

Permalink
Revert "Fixed dynamic access of class property in PHP 7.0"
Browse files Browse the repository at this point in the history
This reverts commit 83e05e5.
  • Loading branch information
grubersjoe committed Jun 11, 2016
1 parent 83e05e5 commit 3f4522f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/helpers/mvc_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function admin_table_cell($controller, $object, $column, $options = array
if (!empty($column['value_method'])) {
$value = $controller->{$column['value_method']}($object);
} else {
$value = $object->{$column['key']};
$value = $object->$column['key'];
}
return '<td>'.$value.'</td>';
}
Expand Down

0 comments on commit 3f4522f

Please sign in to comment.