try and avoid smarty complaining about no variable $conf - see https://github.com/postfixadmin/postfixadmin/issues/266

pull/277/head
David Goodwin 6 years ago
parent 3ff2436f2f
commit ae476950f2

@ -60,9 +60,9 @@
{if $boolconf_used_quotas} {if $boolconf_used_quotas}
{if $divide_quota.quota_width[$i] > $conf.quota_level_high_pct} {if $divide_quota.quota_width[$i] > $CONF.quota_level_high_pct}
{assign var="quota_level" value="high"} {assign var="quota_level" value="high"}
{elseif $divide_quota.quota_width[$i] > $conf.quota_level_med_pct} {elseif $divide_quota.quota_width[$i] > $CONF.quota_level_med_pct}
{assign var="quota_level" value="mid"} {assign var="quota_level" value="mid"}
{else} {else}
{assign var="quota_level" value="low"} {assign var="quota_level" value="low"}

Loading…
Cancel
Save