summaryrefslogtreecommitdiff
path: root/app/php/controls/TimezoneSelect.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/controls/TimezoneSelect.php')
-rw-r--r--app/php/controls/TimezoneSelect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/php/controls/TimezoneSelect.php b/app/php/controls/TimezoneSelect.php
index 3302e2a..592a9e7 100644
--- a/app/php/controls/TimezoneSelect.php
+++ b/app/php/controls/TimezoneSelect.php
@@ -10,7 +10,7 @@ class TimezoneSelect extends TTemplateControl {
}
public function setUserToChange(DbUser $user) {
- if ($user->IsGuest) {
+ if ($user->IsGuest && !$this->Page->IsCallBack) {
throw new TInvalidDataValueException(
'Timezone preference change impossible for guest user'
);