mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
When adding a case log, existing objects could not be displayed anymore!
SVN:trunk[3457]
This commit is contained in:
@@ -1993,7 +1993,7 @@ class AttributeCaseLog extends AttributeLongText
|
||||
|
||||
public function FromSQLToValue($aCols, $sPrefix = '')
|
||||
{
|
||||
if (!isset($aCols[$sPrefix]))
|
||||
if (!array_key_exists($sPrefix, $aCols))
|
||||
{
|
||||
$sAvailable = implode(', ', array_keys($aCols));
|
||||
throw new MissingColumnException("Missing column '$sPrefix' from {$sAvailable}");
|
||||
|
||||
Reference in New Issue
Block a user