Add a couple of brackets to flush out a minor code change that has been sitting for a while.

This commit is contained in:
Chris Morgan
2007-09-08 01:38:35 +00:00
committed by WineHQ
parent 43a7ea8f1d
commit 38f7214406

View File

@@ -55,7 +55,9 @@ if($aClean['bIsRejected'] == 'true')
$oObject->bIsRejected = true;
$oObject->bIsQueue = true;
} else
{
$oObject->bIsRejected = false;
}
$oObject->oMultiPage->getDataFromInput($aClean);
@@ -67,7 +69,9 @@ $oOtherObject = new $oObject->sClass($oObject->iId);
$sErrors = $oObject->processForm($aClean);
if($oObject->iId && $aClean['sAction'] == "delete")
{
$oObject->delete_entry();
}
if(isset($aClean['sAction']) && $aClean['sAction'] == "add")
$oObject->handle_anonymous_submission();