WordPress.org

Plugin Directory

Changeset 969373


Ignore:
Timestamp:
08/21/14 05:59:03 (3 years ago)
Author:
zackdesign
Message:

fix to cast things to integers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multiple-category-selection-widget/trunk/mcsw.php

    r969366 r969373  
    3838            foreach ($cats as $cat) 
    3939            { 
     40                $cat = (int) $cat; // Just ensuring that nothing can be posted that's text 
    4041                if ($cat == 0) 
    4142                    unset($cats[$count]); 
Note: See TracChangeset for help on using the changeset viewer.