users/vacation.php:

- fix: only show vacation as active if it is really active (inactive 
  vacation message caused the "vacation is active" message too)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@303 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 18 years ago
parent ac44dc861d
commit 209ba99d00

@ -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'];
}

Loading…
Cancel
Save