SF.net SVN: postfixadmin: [303] trunk/users/vacation.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <chr...@us...> - 2008-02-26 20:31:20
|
Revision: 303
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=303&view=rev
Author: christian_boltz
Date: 2008-02-26 12:31:25 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
users/vacation.php:
- fix: only show vacation as active if it is really active (inactive
vacation message caused the "vacation is active" message too)
Modified Paths:
--------------
trunk/users/vacation.php
Modified: trunk/users/vacation.php
===================================================================
--- trunk/users/vacation.php 2008-02-26 20:27:15 UTC (rev 302)
+++ trunk/users/vacation.php 2008-02-26 20:31:25 UTC (rev 303)
@@ -51,7 +51,7 @@
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'];
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|