Local fixes to invoice display and retrieve traffic data
This commit is contained in:
@@ -39,7 +39,9 @@ abstract class StaticList {
|
||||
protected static function _display($id) {
|
||||
$table = static::factory()->table();
|
||||
|
||||
if (! $table OR empty($table[$id]))
|
||||
if (! $table)
|
||||
return 'No Table';
|
||||
elseif (empty($table[$id]))
|
||||
return sprintf('No Value (%s)',$id);
|
||||
else
|
||||
return $table[$id];
|
||||
|
Reference in New Issue
Block a user