Re: cvs: pearweb /public_html/bugs search.php

From: Date: Wed, 30 Jun 2004 01:07:35 +0000
Subject: Re: cvs: pearweb /public_html/bugs search.php
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-2663@lists.php.net to get a copy of this message
Hi Helgi: > @@ -218,7 +218,20 @@ > $search_site = ''; > } else { > $search_site = $site; > - $where_clause .= " AND packages.package_type = > '".escapeSQL($search_site)."'"; > + if (in_array('Bug System', $_GET['package_name'])) { > + $pseudo[] = 'Bug System'; > + } ... snip ... > + $where_clause .= " AND packages.package_type = '".escapeSQL($search_site)."' > + OR bugdb.package_name IN ('".join("', > '", escapeSQL($pseudo)) . "')"; Without taking a close look, this approach looks very weird. The system worked fine for pseudo packages before. This stuff is a hack. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.webmaster (#2663) next »