[ postfixadmin-Bugs-2050952 ] Crossed conditions
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-08-14 18:50:45
|
Bugs item #2050952, was opened at 2008-08-14 07:07 Message generated for change (Comment added) made by gingerdog 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: Closed >Resolution: Fixed 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. ---------------------------------------------------------------------- >Comment By: GingerDog (gingerdog) Date: 2008-08-14 18:50 Message: Logged In: YES user_id=1761957 Originator: NO Thanks, see changeset 443. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2050952&group_id=191583 |