We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data
1 parent cf43310 commit 0995b38Copy full SHA for 0995b38
system/View/Table.php
@@ -265,7 +265,7 @@ protected function _prepArgs(array $args)
265
// If there is no $args[0], skip this and treat as an associative array
266
// This can happen if there is only a single key, for example this is passed to table->generate
267
// array(array('foo'=>'bar'))
268
- if (isset($args[0]) && count($args) === 1 && is_array($args[0]) && ! isset($args[0]['data'])) {
+ if (isset($args[0]) && count($args) === 1 && is_array($args[0])) {
269
$args = $args[0];
270
}
271
0 commit comments