[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] com web/pecl: handle direct visits to package-search.php as a no results page: =?UTF-8?Q?
From:       Ferenc Kovacs <tyrael () php ! net>
Date:       2012-12-30 21:11:14
Message-ID: php-mail-283b78ccd46fed52fe2695ca91946d4d1111760545 () git ! php ! net
[Download RAW message or body]

Commit:    ccec8c4de587003c6cefcfcc06317a20f9bb5139
Author:    Ferenc Kovacs <tyra3l@gmail.com>         Sun, 30 Dec 2012 22:11:14 +0100
Parents:   286fd295f08504de2b336c98b257c25ff120f90b
Branches:  maint

Link:       http://git.php.net/?p=web/pecl.git;a=commitdiff;h=ccec8c4de587003c6cefcfcc06317a20f9bb5139

Log:
handle direct visits to package-search.php as a no results page

Changed paths:
  M  public_html/package-search.php


Diff:
diff --git a/public_html/package-search.php b/public_html/package-search.php
index a105338..4a22bc3 100755
--- a/public_html/package-search.php
+++ b/public_html/package-search.php
@@ -68,6 +68,7 @@ for ($i=0; $i<count($users); $i++) {
 * Is form submitted? Do search and show
 * results.
 */
+$numrows = 0;
 if (!empty($_GET)) {
     $dbh->setFetchmode(DB_FETCHMODE_ASSOC);
     $where = array();


--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic