[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-31 0:16:53
Message-ID: php-mail-b74c0c3238e6683b248b5c0e48b2a3d41035246680 () git ! php ! net
[Download RAW message or body]

Commit:    bd1695ee960b7240766b5fd9dd5348161e069ed9
Author:    Ferenc Kovacs <tyra3l@gmail.com>         Sun, 30 Dec 2012 22:11:14 +0100
Parents:   74584d6b101a907165a1e80942342cbf76c47988
Branches:  old_auth

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

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 7644f5c..a12f092 100755
--- a/public_html/package-search.php
+++ b/public_html/package-search.php
@@ -79,6 +79,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