mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
- Enhanced the display and modification/creation of objects in order to be able to get rid of templates... (Trac#138)
SVN:trunk[463]
This commit is contained in:
@@ -338,7 +338,7 @@ abstract class MetaModel
|
||||
final static public function GetDisplayTemplate($sClass)
|
||||
{
|
||||
self::_check_subclass($sClass);
|
||||
return self::$m_aClassParams[$sClass]["display_template"];
|
||||
return array_key_exists("display_template", self::$m_aClassParams[$sClass]) ? self::$m_aClassParams[$sClass]["display_template"]: '';
|
||||
}
|
||||
final static public function GetAttributeOrigin($sClass, $sAttCode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user