[ postfixadmin-Bugs-2050952 ] Crossed conditions
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-08-14 07:07:35
|
Bugs item #2050952, was opened at 2008-08-14 09:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2050952&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: Interface (example) Group: SVN (please specify revision!) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Kaneda (kan3da) Assigned to: Nobody/Anonymous (nobody) Summary: Crossed conditions Initial Comment: Under the trunk version, in file templates/list-virtual.php the conditions check for disabled/unlimited are crossed, resulting in 'disabled' message showed when you assign 'unlimited' and viceversa. It should read: if ($limit['aliases'] == 0) $limit['aliases'] = $PALANG['pOverview_disabled']; if ($limit['mailboxes'] == 0) $limit['mailboxes'] = $PALANG['pOverview_disabled']; if ($limit['maxquota'] == 0) $limit['maxquota'] = $PALANG['pOverview_disabled']; if ($limit['aliases'] < 0) $limit['aliases'] = $PALANG['pOverview_unlimited']; if ($limit['mailboxes'] < 0) $limit['mailboxes'] = $PALANG['pOverview_unlimited']; if ($limit['maxquota'] < 0) $limit['maxquota'] = $PALANG['pOverview_unlimited']; instead of the actual code. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2050952&group_id=191583 |