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

From: Date: Thu, 20 May 2004 02:33:12 +0000
Subject: cvs: pearweb /public_html/bugs/include functions.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-19676@lists.php.net to get a copy of this message
dufuz Wed May 19 22:33:12 2004 EDT Modified files: /pearweb/public_html/bugs/include functions.inc Log: added PEPr in the package_exists method http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.32&r2=1.33&ty=u Index: pearweb/public_html/bugs/include/functions.inc diff -u pearweb/public_html/bugs/include/functions.inc:1.32 pearweb/public_html/bugs/include/functions.inc:1.33 --- pearweb/public_html/bugs/include/functions.inc:1.32 Wed May 19 16:00:39 2004 +++ pearweb/public_html/bugs/include/functions.inc Wed May 19 22:33:12 2004 @@ -1,6 +1,6 @@ <?php /* vim: set noet ts=4 sw=4 ft=php : */ -// $Id: functions.inc,v 1.32 2004/05/19 20:00:39 dufuz Exp $ +// $Id: functions.inc,v 1.33 2004/05/20 02:33:12 dufuz Exp $ /* Email spam protection */ function spam_protect($txt) @@ -466,7 +466,7 @@ if (empty($type)) { return false; } - if (in_array($type, array('Web Site', 'Documentation', 'Bug System'))) { + if (in_array($type, array('Web Site', 'Documentation', 'Bug System', 'PEPr'))) { return true; } $found = $dbh->getOne('SELECT count(*) FROM packages WHERE packages.name=' . "'" . $type ."'");

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