cvs: php-bugs-web / search.php

From: Date: Mon, 16 Mar 2009 12:27:04 +0000
Subject: cvs: php-bugs-web / search.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4071@lists.php.net to get a copy of this message
johannes Mon Mar 16 12:27:04 2009 UTC Modified files: /php-bugs-web search.php Log: Make sure this is an int http://cvs.php.net/viewvc.cgi/php-bugs-web/search.php?r1=1.74&r2=1.75&diff_format=u Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.74 php-bugs-web/search.php:1.75 --- php-bugs-web/search.php:1.74 Mon Nov 10 16:12:09 2008 +++ php-bugs-web/search.php Mon Mar 16 12:27:04 2009 @@ -116,6 +116,9 @@ } $begin = (int)$begin; + if ($limit != 'All') { + $limit = (int)$limit; + } if (($limit != 'All' && !(int)$limit) || (int)$limit < 0 ) $limit = 30; if($limit!='All' && $limit > 0) $query .= " LIMIT $begin,".(int)$limit;

« previous php.webmaster (#4071) next »