Ignore:
Timestamp:
Aug 29, 2012, 5:23:25 PM (12 years ago)
Author:
mistic100
Message:

consolidate upgrade process, remote filter_var function (PHP 5.2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/include/collections.inc.php

    r17519 r17657  
    1717   
    1818    // actions
    19     if ( isset($_GET['action']) and filter_var($_GET['col_id'], FILTER_VALIDATE_INT) !== false )
     19    if ( isset($_GET['action']) and preg_match('#^([0-9]+)$#', $_GET['col_id']) )
    2020    {
    2121      switch ($_GET['action'])
Note: See TracChangeset for help on using the changeset viewer.