From 01ae4de123552636b990b1c4201f38e7a61a05bd Mon Sep 17 00:00:00 2001 From: bhaal2 Date: Thu, 15 Sep 2016 01:59:31 +1000 Subject: [PATCH] Modified so deleting a filter is done by table Id instead of Name --- web/includes/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/actions.php b/web/includes/actions.php index 8c71c15a4..09b43696b 100644 --- a/web/includes/actions.php +++ b/web/includes/actions.php @@ -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; } }