Revize 1297
Přidáno uživatelem Ondřej Fibich před téměř 13 roky(ů)
freenetis/branches/testing/application/models/iface.php | ||
---|---|---|
if (empty($type) && $this->id)
|
||
$type = $this->type;
|
||
|
||
if (!empty($type) && array_key_exists($type, self::$types))
|
||
if (is_numeric($type) && array_key_exists($type, self::$types))
|
||
return __(self::$types[$type]);
|
||
else
|
||
return NULL;
|
Také k dispozici: Unified diff
Opravy:
- osetreni predani chybneho parametru metody Iface_Model#get_type()