Ignore:
Timestamp:
Jan 19, 2013, 6:08:16 PM (11 years ago)
Author:
julien1311
Message:

[piwecard] forgot to commit the colorpicker plugin...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/admin/admin_management.php

    r20229 r20260  
    8383}
    8484
    85 $start =  (isset($_GET['start']) ? $_GET['start'] : 0);
     85$start =  (isset($_GET['start']) ? intval($_GET['start']) : 0);
     86if ($start > $piwecard->get_nb_ecard())
     87        $start = 0;
    8688if ($start != 0 AND $piwecard->get_nb_ecard() <= $piwecard->config['nb_ecard_page'])
    8789        $start = 0;
    88 
     90       
    8991//Create the navigation bar (for more than 1 page)
    9092$management_url = PIWECARD_ADMIN.'-management';
Note: See TracChangeset for help on using the changeset viewer.