Modified so deleting a filter is done by table Id instead of Name

This commit is contained in:
bhaal2 2016-09-15 01:59:31 +10:00
parent 17555bf623
commit 01ae4de123
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ if ( !empty($action) ) {
}
if ( !empty($_REQUEST['fid']) )
{
dbQuery( 'DELETE FROM Filters WHERE Name=?', array( $_REQUEST['fid'] ) );
dbQuery( 'DELETE FROM Filters WHERE Id=?', array( $_REQUEST['filterId'] ) );
//$refreshParent = true;
}
}