Various Bugfixes
This commit is contained in:
@@ -42,7 +42,6 @@ class TerminationController extends mfBaseController {
|
||||
$data['contact'] = $r->contact;
|
||||
$data['phone'] = $r->phone;
|
||||
$data['email'] = $r->email;
|
||||
$data['lineworker_id'] = $building->lineworker_id;
|
||||
|
||||
$data['edit_by'] = $this->me->id;
|
||||
|
||||
@@ -58,6 +57,7 @@ class TerminationController extends mfBaseController {
|
||||
$this->layout()->setFlash("Fehler beim Speichern", "error");
|
||||
$this->redirect("Building", "Index", [], "building=".$term->building_id);
|
||||
}
|
||||
|
||||
|
||||
if(!$term->code) {
|
||||
$term->code = $term->getNewObjectCode();
|
||||
|
||||
Reference in New Issue
Block a user