Don't modify filter columns with numeric keys

This commit is contained in:
Nathan Gray 2010-02-12 18:36:04 +00:00
parent 42bd4d227c
commit 30db6582f7

View File

@ -144,7 +144,7 @@ class historylog
}
foreach($filter as $col => $value)
{
if (substr($col,0,8) != 'history_')
if (!is_numeric($col) && substr($col,0,8) != 'history_')
{
$filter['history_'.$col] = $value;
unset($filter[$col]);