summaryrefslogtreecommitdiff
path: root/app/php/components/PasswordChange.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/components/PasswordChange.php')
-rw-r--r--app/php/components/PasswordChange.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/components/PasswordChange.php b/app/php/components/PasswordChange.php
index d0a90fb..1224f33 100644
--- a/app/php/components/PasswordChange.php
+++ b/app/php/components/PasswordChange.php
@@ -10,7 +10,9 @@ class PasswordChange extends TTemplateControl {
public function setUserToChange(DbUser $user) {
if ($user->IsGuest) {
- throw new TInvalidDataValueException('Password change impossible for guest user');
+ throw new TInvalidDataValueException(
+ 'Password change impossible for guest user'
+ );
}
$this->setControlState('user', $user);
}