Minor updates and enhancements to Table()
This commit is contained in:
@@ -102,7 +102,7 @@ abstract class lnApp_HTMLRender {
|
||||
throw new Kohana_Exception('Missing key :key for image',array(':key'=>$key));
|
||||
|
||||
// Check for unique keys
|
||||
if (static::$_unique_vals)
|
||||
if (isset(static::$_unique_vals) AND static::$_unique_vals)
|
||||
foreach (static::$_unique_vals as $v=>$u)
|
||||
foreach (static::$_data as $d)
|
||||
if (isset($d[$u]) && $d['data'] == $item['data'])
|
||||
|
Reference in New Issue
Block a user