Browse Source

Update AuthExtComponent.php

codings standards
LDSign 12 years ago
parent
commit
98c43dbc74
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Controller/Component/AuthExtComponent.php

+ 3 - 3
Controller/Component/AuthExtComponent.php

@@ -96,7 +96,7 @@ class AuthExtComponent extends AuthComponent {
 			if (!empty($user['suspended'])) {
 				$this->loginError = __('Account temporarily locked');
 				if (!empty($user['suspended_reason'])) {
-					$this->loginError .= BR . BR . __('Reason').':' . BR . nl2br(h($user['suspended_reason']));
+					$this->loginError .= BR . BR . __('Reason') . ':' . BR . nl2br(h($user['suspended_reason']));
 				}
 				return false;
 			}
@@ -112,14 +112,14 @@ class AuthExtComponent extends AuthComponent {
 			if (isset($user['status']) && defined('User::STATUS_SUSPENDED') && $user['status'] == User::STATUS_SUSPENDED) {
 				$this->loginError = __('Account temporarily locked');
 				if (!empty($user['suspended_reason'])) {
-					$this->loginError .= BR . BR . __('Reason').':' . BR . nl2br(h($user['suspended_reason']));
+					$this->loginError .= BR . BR . __('Reason') . ':' . BR . nl2br(h($user['suspended_reason']));
 				}
 				return false;
 			}
 			if (isset($user['status']) && defined('User::STATUS_DEL') && $user['status'] == User::STATUS_DEL) {
 				$this->loginError = __('Account deleted');
 				if (!empty($user['suspended_reason'])) {
-					$this->loginError .= BR . BR . __('Reason').':' . BR . nl2br(h($user['suspended_reason']));
+					$this->loginError .= BR . BR . __('Reason') . ':' . BR . nl2br(h($user['suspended_reason']));
 				}
 				return false;
 			}