Re: svn: /pear/pearweb/trunk/cron/ find-documentation.php

From: Date: Mon, 12 Apr 2010 09:36:58 +0000
Subject: Re: svn: /pear/pearweb/trunk/cron/ find-documentation.php
References: 1  Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-59241@lists.php.net to get a copy of this message
Hurray! On Mon, Apr 12, 2010 at 6:46 PM, David JEAN LOUIS <izi@php.net> wrote: > izi Mon, 12 Apr 2010 09:16:08 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=297869 > > Log: > Make sure the script only update the package if the url is not empty. > > Changed paths: > U pear/pearweb/trunk/cron/find-documentation.php > > Modified: pear/pearweb/trunk/cron/find-documentation.php > =================================================================== > --- pear/pearweb/trunk/cron/find-documentation.php 2010-04-12 09:09:33 > UTC (rev 297868) > +++ pear/pearweb/trunk/cron/find-documentation.php 2010-04-12 09:16:08 > UTC (rev 297869) > @@ -103,7 +103,9 @@ > $url = $response->getStatus() != 404 ? $new_url : ''; > } > > - $res = $dbh->execute($update, array($url, $matches1[1])); > + if ($url) { > + $res = $dbh->execute($update, array($url, > $matches1[1])); > + } > } > } > } > > > -- > PEAR CVS Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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