Show
Ignore:
Timestamp:
01/31/07 09:41:42 (22 months ago)
Author:
mbonetti
Message:

limit the number of search results if no limit is specified

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/search.php

    r1613 r1684  
    137137        if (!$this->resultsPerPage) { 
    138138            $this->resultsPerPage = sanitize( 
    139                 ((array_key_exists(QUERY_RESULTS, $_REQUEST)) ? $_REQUEST[QUERY_RESULTS] : INFINE_RESULTS), 
     139                ((array_key_exists(QUERY_RESULTS, $_REQUEST)) ? $_REQUEST[QUERY_RESULTS] : 15), 
    140140                RSS_SANITIZER_NUMERIC); 
    141141        }