From 34d586a9360a40229cc6c41e9478117ff76dc409 Mon Sep 17 00:00:00 2001 From: bhaal2 Date: Wed, 21 Sep 2016 20:54:15 +1000 Subject: [PATCH] @connortechnology changed the selectName back to Id from filterId in filter.php, this had a flowon effect in filtersave.php as well. --- web/skins/classic/views/filtersave.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/skins/classic/views/filtersave.php b/web/skins/classic/views/filtersave.php index 981fc7a36..84fb108b3 100644 --- a/web/skins/classic/views/filtersave.php +++ b/web/skins/classic/views/filtersave.php @@ -24,12 +24,12 @@ if ( !canEdit( 'Events' ) ) return; } -$selectName = "filterId"; +$selectName = "Id"; $newSelectName = "newFilterName"; -foreach ( dbFetchAll( "select * from Filters order by Id" ) as $row ) +foreach ( dbFetchAll( "select * from Filters order by Name" ) as $row ) { $filterNames[$row['Id']] = $row['Name']; - if ( $_REQUEST['filterId'] == $row['Id'] ) + if ( $_REQUEST['Id'] == $row['Id'] ) { $filterData = $row; }