Changeset 3520


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

merge r3519 from branch 2.0 to trunk
Minor: prevent for non numeric values (except all)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r3487 r3520  
    8787{ 
    8888  $page['items_number'] = $_GET['items_number']; 
     89} 
     90if ( !is_numeric($page['items_number']) and $page['items_number']!='all' )  
     91{ 
     92  $page['items_number'] = 10; 
    8993} 
    9094 
Note: See TracChangeset for help on using the changeset viewer.