diff --git a/controller/acp_cats_controller.php b/controller/acp_cats_controller.php index 26e1cb4..e71d62d 100644 --- a/controller/acp_cats_controller.php +++ b/controller/acp_cats_controller.php @@ -60,7 +60,7 @@ public function edit_cat($cat_id) 'U_ACTION' => $this->u_action . '&action=edit_cat&cat_id=' . $cat_id, )); } - catch(base $e) + catch (base $e) { trigger_error($e->get_message($this->language)); } diff --git a/controller/acp_flair_controller.php b/controller/acp_flair_controller.php index bcb4e68..ed248d4 100644 --- a/controller/acp_flair_controller.php +++ b/controller/acp_flair_controller.php @@ -119,7 +119,7 @@ public function edit_flair($flair_id) 'U_ACTION' => $this->u_action . '&action=edit&cat_id=' . $entity->get_category() . '&flair_id=' . $flair_id, )); } - catch(base $e) + catch (base $e) { trigger_error($e->get_message($this->language)); } @@ -407,7 +407,7 @@ public function delete_flair($flair_id) trigger_error($this->language->lang('ACP_FLAIR_DELETE_SUCCESS') . adm_back_link($this->u_action . '&cat_id=' . $entity->get_category())); } - catch(base $e) + catch (base $e) { trigger_error($e->get_message($this->language)); } diff --git a/controller/acp_main_controller.php b/controller/acp_main_controller.php index aacf5a5..95e7dbf 100644 --- a/controller/acp_main_controller.php +++ b/controller/acp_main_controller.php @@ -98,7 +98,7 @@ public function display_flair() { $cat_name = $this->container->get('stevotvr.flair.entity.category')->load($cat_id)->get_name(); } - catch(base $e) + catch (base $e) { trigger_error($e->get_message($this->language)); }