Update of /cvsroot/fink/web/pdb
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25215

Modified Files:
        rss.php 
Log Message:
small fix


Index: rss.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/rss.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rss.php     5 Sep 2010 18:44:03 -0000       1.4
+++ rss.php     14 Sep 2010 19:29:17 -0000      1.5
@@ -47,7 +47,7 @@
        $_GET['format'] = 'ATOM';
 $format = strtoupper($_GET['format']);
 
-if ($results != null && $results->response->numFound > 0) {
+if (isset($results) && $results->response->numFound > 0) {
        foreach ($results->response->docs as $package) {
                $description = $package->desclong;
                if (empty($package->desclong))


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to