svn: /web/php/trunk/ results.php

From: Date: Tue, 05 Jul 2011 22:32:56 +0000
Subject: svn: /web/php/trunk/ results.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11462@lists.php.net to get a copy of this message
salathe Tue, 05 Jul 2011 22:32:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312965 Log: show top search result Changed paths: U web/php/trunk/results.php Modified: web/php/trunk/results.php =================================================================== --- web/php/trunk/results.php 2011-07-05 22:11:28 UTC (rev 312964) +++ web/php/trunk/results.php 2011-07-05 22:32:56 UTC (rev 312965) @@ -35,7 +35,7 @@ $q = urlencode($q); $l = urlencode($l); -$s = (isset($_GET['start']) && is_numeric($_GET['start']) && $_GET['start']!=0) ? (int)$_GET['start'] : 1; +$s = (isset($_GET['start']) && is_numeric($_GET['start'])) ? (int)$_GET['start'] : 0; $profile = (isset($_GET['p']) && is_string($_GET['p'])) ? $_GET['p'] : 'all'; $per_page = 10;

« previous php.webmaster (#11462) next »