svn: /pear/pearweb/trunk/public_html/bugs/ report.php

[email protected] ("Daniel O'Connor") Tue, 01 Mar 2011 21:03:28 +0000
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
clockwerx                                Tue, 01 Mar 2011 21:03:28 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=308823

Log:
Fix Fatal error with newer versions of Services_ProjectHoneyPot

Changed paths:
    U   pear/pearweb/trunk/public_html/bugs/report.php

Modified: pear/pearweb/trunk/public_html/bugs/report.php
===================================================================
--- pear/pearweb/trunk/public_html/bugs/report.php	2011-03-01 21:00:20 UTC (rev 308822)
+++ pear/pearweb/trunk/public_html/bugs/report.php	2011-03-01 21:03:28 UTC (rev 308823)
@@ -457,7 +457,7 @@
         // $resolver = new Net_DNS_Resolver;
         // $resolver->nameservers = array('66.114.197.251');

-        $sphp = Services_ProjectHoneyPot::factory(HONEYPOT_API_KEY, $resolver);
+        $sphp = new Services_ProjectHoneyPot(HONEYPOT_API_KEY, $resolver);
         $sphp->setResponseFormat('object');
         $ip = $_SERVER['REMOTE_ADDR'];
         // Uncomment for testing or get one from http://www.projecthoneypot.org/top_harvesters.php