diff --git a/src/Controller/AppController.php b/src/Controller/AppController.php index b52faad32..ed1e0c108 100644 --- a/src/Controller/AppController.php +++ b/src/Controller/AppController.php @@ -274,6 +274,8 @@ class AppController extends Controller } if(isset($returnTable['details'])) { $adminErrorEntity->details = $returnTable['details']; + } else { + $adminErrorEntity->details = __('(Leere Details)'); } if(!$adminErrorTable->save($adminErrorEntity)) { $this->Flash->error(__('Serious error, couldn\'t save to db, please write the admin: ' . $this->getAdminEmailLink())); diff --git a/src/Template/AddressTypes/index.ctp b/src/Template/AddressTypes/index.ctp index 978751be0..8460e08a7 100644 --- a/src/Template/AddressTypes/index.ctp +++ b/src/Template/AddressTypes/index.ctp @@ -40,8 +40,8 @@ -
-