SF.net SVN: postfixadmin: [308] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
From: <agr...@us...> - 2008-03-04 22:02:32
|
Revision: 308 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=308&view=rev Author: agregc32 Date: 2008-03-04 14:02:20 -0800 (Tue, 04 Mar 2008) Log Message: ----------- fixed an error that would not identify POP/IMAP accounts when a mailbox forwards to other destinations as well. Modified Paths: -------------- trunk/functions.inc.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2008-03-02 22:17:39 UTC (rev 307) +++ trunk/functions.inc.php 2008-03-04 22:02:20 UTC (rev 308) @@ -1985,7 +1985,7 @@ { //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 .= "<span style='background-color:" . $CONF['show_popimap_color'] . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |