cvs: pearweb /public_html/bugs/include functions.inc

From: Date: Mon, 07 Jun 2004 20:29:18 +0000
Subject: cvs: pearweb /public_html/bugs/include functions.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20340@lists.php.net to get a copy of this message
dufuz Mon Jun 7 16:29:18 2004 EDT Modified files: /pearweb/public_html/bugs/include functions.inc Log: ampersand on line 628 broke the file :) http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.37&r2=1.38&ty=u Index: pearweb/public_html/bugs/include/functions.inc diff -u pearweb/public_html/bugs/include/functions.inc:1.37 pearweb/public_html/bugs/include/functions.inc:1.38 --- pearweb/public_html/bugs/include/functions.inc:1.37 Mon Jun 7 15:07:20 2004 +++ pearweb/public_html/bugs/include/functions.inc Mon Jun 7 16:29:18 2004 @@ -1,6 +1,6 @@ <?php /* vim: set noet ts=4 sw=4 ft=php : */ -// $Id: functions.inc,v 1.37 2004/06/07 19:07:20 mj Exp $ +// $Id: functions.inc,v 1.38 2004/06/07 20:29:18 dufuz Exp $ /* Email spam protection */ function spam_protect($txt) @@ -625,7 +625,7 @@ $webpkgs = array('Web Site', 'Documentation', 'Bug System', 'PEPr'); $home = true; - foreach ($pkgname as $key => &$value) { + foreach ($pkgname as $key => $value) { if (!preg_match('/^[A-Za-z0-9_ ]+$/', $value)) { return; }

« previous php.pear.cvs (#20340) next »