mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Fix: regression for tickets with just a default initial state.
SVN:trunk[1522]
This commit is contained in:
@@ -1373,7 +1373,10 @@ EOF
|
||||
if (!empty($sStateAttCode))
|
||||
{
|
||||
$sTargetState = utils::ReadPostedParam('obj_state', '');
|
||||
$oObj->Set($sStateAttCode, $sTargetState);
|
||||
if ($sTargetState != '')
|
||||
{
|
||||
$oObj->Set($sStateAttCode, $sTargetState);
|
||||
}
|
||||
}
|
||||
$oObj->UpdateObjectFromPostedForm();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user