From a0833809df2d96278ec6fc523c10adc81c613079 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sun, 4 Nov 2007 19:35:09 +0000 Subject: [PATCH] list-virtual.tpl: only display vacation stuff if vacation support is enabled git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@192 a1433add-5e2c-0410-b055-b7f2511e0802 --- templates/list-virtual.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/list-virtual.tpl b/templates/list-virtual.tpl index a267bde1..22583786 100644 --- a/templates/list-virtual.tpl +++ b/templates/list-virtual.tpl @@ -236,7 +236,7 @@ if (sizeof ($tMailbox) > 0) $active = ($tMailbox[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; print " " . $active . "\n"; - if ($CONF['vacation_control_admin'] == 'YES') + if ($CONF['vacation_control_admin'] == 'YES' && $CONF['vacation'] == 'YES') { $v_active_int = $tMailbox[$i]['v_active']; if($v_active_int !== -1) {