[ postfixadmin-Bugs-2790969 ] Overview is mixing disabled and unlimited
Brought to you by:
christian_boltz,
gingerdog
|
From: SourceForge.net <no...@so...> - 2009-05-13 01:08:04
|
Bugs item #2790969, was opened at 2009-05-12 21:07 Message generated for change (Tracker Item Submitted) made by myrandor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2790969&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: v 2.3 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Daniel Cournoyer (myrandor) Assigned to: Nobody/Anonymous (nobody) Summary: Overview is mixing disabled and unlimited Initial Comment: In the file /templates/list-virtual.php, line 10 to 15, it is showing: 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']; But is should be: 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']; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2790969&group_id=191583 |