Plugin Directory

Changeset 1190683 for count-per-day


Ignore:
Timestamp:
07/01/2015 09:59:34 AM (10 years ago)
Author:
Tom Braider
Message:

Bugfix: Parameter check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • count-per-day/trunk/counter-options.php

    r1088771 r1190683  
    167167        }
    168168       
    169         $keep = (isset($_POST['cpd_keep_month'])) ? $_POST['cpd_keep_month'] : 6;
     169        $keep = (isset($_POST['cpd_keep_month'])) ? intval($_POST['cpd_keep_month']) : 6;
    170170       
    171171        $d = array(); // month data
Note: See TracChangeset for help on using the changeset viewer.