[ postfixadmin-Bugs-1876457 ] vacation status message
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-02-28 22:53:14
|
Bugs item #1876457, was opened at 2008-01-21 14:40 Message generated for change (Comment added) made by christian_boltz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1876457&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: SVN (please specify revision!) >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: vacation status message Initial Comment: SVN 298 when you create vacation message for user in users menu and than you remove and next time you will edit message, you will see message under edit dialog "You already have an auto response configured!", but your vacation is not active. file users/main.php @@-54,1@@ - $tMessage = $PALANG['pUsersVacation_welcome_text']; @@+59,7@@ + $Active = db_get_boolean(True); + $result = db_query("SELECT * FROM $table_vacation WHERE email='$USERID_USERNAME' AND active='$Active'"); + if ($result['rows'] == 1) { $tMessage = PALANG['pUsersVacation_welcome_text']; } ---------------------------------------------------------------------- >Comment By: Christian Boltz (christian_boltz) Date: 2008-02-28 23:53 Message: Logged In: YES user_id=593261 Originator: NO Fixed in SVN r303. Thanks for the bugreport! ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-01-24 02:12 Message: Logged In: NO last night I had a idea how it maked better and here is solution: @@-54,1@@ - $tMessage = $PALANG['pUsersVacation_welcome_text']; @@+57,6@@ $Active = db_get_boolean(True); if ($row['active'] == $Active) { $tMessage = $PALANG['pUsersVacation_welcome_text']; } good luck qaso ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1876457&group_id=191583 |