cvs: php-bugs-web / search.php

From: Date: Thu, 05 Oct 2006 12:57:01 +0000
Subject: cvs: php-bugs-web / search.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32922@lists.php.net to get a copy of this message
bjori Thu Oct 5 12:57:01 2006 UTC Modified files: /php-bugs-web search.php Log: limit has to be more than 0 http://cvs.php.net/viewvc.cgi/php-bugs-web/search.php?r1=1.64&r2=1.65&diff_format=u Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.64 php-bugs-web/search.php:1.65 --- php-bugs-web/search.php:1.64 Thu Sep 28 11:10:10 2006 +++ php-bugs-web/search.php Thu Oct 5 12:57:01 2006 @@ -116,7 +116,7 @@ $begin = (int)$begin; if ($limit != 'All' && !(int)$limit) $limit = 30; - if($limit!='All') $query .= " LIMIT $begin,".(int)$limit; + if($limit!='All' && $limit > 0) $query .= " LIMIT $begin,".(int)$limit; if(stristr($query, ";")) { $errors[] = "<b>BAD HACKER!!</b> No database cracking for you today!";

« previous php.mirrors (#32922) next »