From 880881c2a207efb87d5ed00c2fa648f98b287855 Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 4 Mar 2008 22:02:20 +0000 Subject: [PATCH] fixed an error that would not identify POP/IMAP accounts when a mailbox forwards to other destinations as well. git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@308 a1433add-5e2c-0410-b055-b7f2511e0802 --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index 78ea0759..6b4f0af3 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1985,7 +1985,7 @@ function gen_show_status ($show_alias) { //if the address passed in appears in its own goto field, its POP/IMAP if (preg_match ('/^' . $show_alias . '$/', $stat_goto) || - preg_match ('/.*,' . $show_alias . ',.*$/', $stat_goto) || + preg_match ('/' . $show_alias . ',/', $stat_goto) || preg_match ('/,' . $show_alias . '$/', $stat_goto) ) { $stat_string .= "