diff options
Diffstat (limited to 'app/Helper/App.php')
-rw-r--r-- | app/Helper/App.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Helper/App.php b/app/Helper/App.php index 0e84f694..19801fa8 100644 --- a/app/Helper/App.php +++ b/app/Helper/App.php @@ -68,8 +68,7 @@ class App extends \Kanboard\Core\Base $html = '<div class="alert alert-success alert-fade-out">'.$this->helper->e($this->session['flash_message']).'</div>'; unset($this->session['flash_message']); unset($this->session['flash_error_message']); - } - else if (isset($this->session['flash_error_message'])) { + } elseif (isset($this->session['flash_error_message'])) { $html = '<div class="alert alert-error">'.$this->helper->e($this->session['flash_error_message']).'</div>'; unset($this->session['flash_message']); unset($this->session['flash_error_message']); |