Modified so deleting a filter is done by table Id instead of Name
This commit is contained in:
parent
17555bf623
commit
01ae4de123
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue