diff --git a/framework/base/helper.class.php b/framework/base/helper.class.php index 82f4ab921a..4a49f8e8c1 100644 --- a/framework/base/helper.class.php +++ b/framework/base/helper.class.php @@ -299,7 +299,7 @@ class baseHelper } /** - * Encrypt password + * Encrypt password. * * @param string $password * @static diff --git a/framework/router.class.php b/framework/router.class.php index 4cd961ccd0..5fdb89956d 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -162,9 +162,7 @@ class router extends baseRouter $model->model = 'scrum'; if($this->session->PRJ) $model = $this->dbh->query('SELECT model FROM' . TABLE_PROJECT . "WHERE id = {$this->session->PRJ}")->fetch(); - if(isset($model->model) && $model->model == 'waterfall') - { $projectIndex = 2; - } + if(isset($model->model) && $model->model == 'waterfall') $projectIndex = 2; /* Set productCommon, projectCommon, hourCommon and planCommon. Default english lang. */ $lang->productCommon = isset($this->config->productCommonList[$this->clientLang][(int)$productIndex]) ? $this->config->productCommonList[$this->clientLang][(int)$productIndex] : $this->config->productCommonList['en'][(int)$productIndex];