* fixed some recuring errors from db-log (mostly missing checks)
This commit is contained in:
Sarjuuk
2015-08-08 00:46:31 +02:00
parent 220fb81833
commit 3c69284e15
13 changed files with 26 additions and 22 deletions

View File

@@ -92,8 +92,9 @@ class GameObjectList extends BaseType
$x = '<table>';
$x .= '<tr><td><b class="q">'.$this->getField('name', true).'</b></td></tr>';
if ($_ = Lang::gameObject('type', $this->curTpl['typeCat']))
$x .= '<tr><td>'.$_.'</td></tr>';
if ($this->curTpl['typeCat'])
if ($_ = Lang::gameObject('type', $this->curTpl['typeCat']))
$x .= '<tr><td>'.$_.'</td></tr>';
if (isset($this->curTpl['lockId']))
if ($locks = Lang::getLocks($this->curTpl['lockId']))