pajoye Wed Apr 19 17:57:44 2006 UTC
Modified files:
/pearweb/cron find-documentation.php
Log:
- fix logic
http://cvs.php.net/viewcvs.cgi/pearweb/cron/find-documentation.php?r1=1.6&r2=1.7&diff_format=u
Index: pearweb/cron/find-documentation.php
diff -u pearweb/cron/find-documentation.php:1.6
pearweb/cron/find-documentation.php:1.7
--- pearweb/cron/find-documentation.php:1.6 Sun Apr 9 19:28:10 2006
+++ pearweb/cron/find-documentation.php Wed Apr 19 17:57:44 2006
@@ -16,13 +16,13 @@
* | Authors: Martin Jansen <mj@xxxxxxx> |
* +----------------------------------------------------------------------+
*
- * $Id: find-documentation.php,v 1.6 2006/04/09 19:28:10 mj Exp $
+ * $Id: find-documentation.php,v 1.7 2006/04/19 17:57:44 pajoye Exp $
*/
/**
* Trying to find documentation URLs for PEAR packages in the peardoc Docbook
sources
*
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
require_once "PEAR.php";
require_once "VFS.php";
@@ -45,7 +45,7 @@
}
$update = $dbh->prepare("UPDATE packages SET doc_link = ?
- WHERE name = ? AND doc_link NOT LIKE 'http://%' OR doc_link
LIKE 'http://pear.php.net/%'");
+ WHERE name = ? AND (doc_link NOT LIKE 'http://%' OR doc_link
LIKE 'http://pear.php.net/%')");
// {{{ readFolder()
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|