Changeset 3519


Ignore:
Timestamp:
07/04/09 22:39:58 (11 years ago)
Author:
vdigital
Message:

Minor: prevent for non numeric values (except all)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/comments.php

    r3406 r3519  
    8686{ 
    8787  $page['items_number'] = $_GET['items_number']; 
     88} 
     89if ( !is_numeric($page['items_number']) and $page['items_number']!='all' )  
     90{ 
     91  $page['items_number'] = 10; 
    8892} 
    8993 
Note: See TracChangeset for help on using the changeset viewer.