diff --git a/users/vacation.php b/users/vacation.php index 15aee615..478d384d 100644 --- a/users/vacation.php +++ b/users/vacation.php @@ -51,7 +51,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET") if ($result['rows'] == 1) { $row = db_array($result['result']); - $tMessage = $PALANG['pUsersVacation_welcome_text']; + if ($row['active'] == db_get_boolean(True)) $tMessage = $PALANG['pUsersVacation_welcome_text']; $tSubject = $row['subject']; $tBody = $row['body']; }