Fix some inconsistent braces and add a comment to the objectManager code

This commit is contained in:
Chris Morgan
2007-04-22 15:52:06 +00:00
committed by WineHQ
parent af465791f7
commit 00aacdeadd
2 changed files with 7 additions and 3 deletions

View File

@@ -300,6 +300,8 @@ class ObjectManager
switch($aClean['sSubmit'])
{
case "Submit":
// if we have a valid iId then we are displaying an existing entry
// otherwise we should create the entry in the 'else' case
if($this->iId)
{
if(!$oObject->canEdit())
@@ -312,9 +314,10 @@ class ObjectManager
$oObject->unQueue();
$oObject->update();
}
else
} else
{
$oObject->create();
}
break;
case "Reject":