From 2c633fe56707e1c897529a142afaf551479323ab Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 13 Jun 2015 16:18:03 +0200 Subject: [PATCH] [ticket/588] Fix code sniffer issues in portal files [ci skip] B3P-588 --- modules/welcome.php | 2 +- portal/fetch_posts.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/welcome.php b/modules/welcome.php index 7ae9c2df..ad86bc98 100644 --- a/modules/welcome.php +++ b/modules/welcome.php @@ -173,7 +173,7 @@ class welcome extends module_base $u_action = append_sid('index.' . $this->php_ext, 'i=-board3-portal-acp-portal_module&mode=config&module_id=' . $module_id); - switch($action) + switch ($action) { // Save changes case 'save': diff --git a/portal/fetch_posts.php b/portal/fetch_posts.php index b5d5d24e..9616b605 100644 --- a/portal/fetch_posts.php +++ b/portal/fetch_posts.php @@ -349,7 +349,7 @@ class fetch_posts */ protected function get_type_constraints() { - switch($this->type) + switch ($this->type) { case "announcements": $this->get_announcements_constraints();