Minor updates and enhancements to Table()

This commit is contained in:
Deon George
2013-05-14 23:55:30 +10:00
parent b65ddab2d0
commit 783964ee59
9 changed files with 159 additions and 22 deletions

View File

@@ -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'])