@@ -355,8 +355,7 @@ |
||
355 | 355 | $sql .= $mysqlbackend->setToSql($set) . "\n"; |
356 | 356 | |
357 | 357 | $component->onUpdate(); |
358 | - } |
|
359 | - catch (Exception $e){ |
|
358 | + } catch (Exception $e){ |
|
360 | 359 | |
361 | 360 | } |
362 | 361 | } |
@@ -325,8 +325,7 @@ discard block |
||
325 | 325 | $App = $this->App(); |
326 | 326 | if($currentComponent = $App->getCurrentComponent()){ |
327 | 327 | $Ui = $currentComponent->ui(); |
328 | - } |
|
329 | - else{ |
|
328 | + } else{ |
|
330 | 329 | $Ui = $App->Ui(); |
331 | 330 | } |
332 | 331 | |
@@ -424,8 +423,7 @@ discard block |
||
424 | 423 | $Ui = $App->Ui(); |
425 | 424 | if($currentComponent = $App->getCurrentComponent()){ |
426 | 425 | $editor = $currentComponent->ui()->editor(); |
427 | - } |
|
428 | - else{ |
|
426 | + } else{ |
|
429 | 427 | |
430 | 428 | $recordClassname = $this->getRecordClassName(); |
431 | 429 | $editorClassname = $recordClassname . 'Editor'; |
@@ -428,8 +428,7 @@ |
||
428 | 428 | if($component){ |
429 | 429 | $this->app->setCurrentComponent($component); |
430 | 430 | $objectController = $component->controller(false); |
431 | - } |
|
432 | - else{ |
|
431 | + } else{ |
|
433 | 432 | header('HTTP/1.0 400 Bad Request'); |
434 | 433 | throw new app_UnknownActionException($action); |
435 | 434 | } |