@connortechnology changed the selectName back to Id from filterId in filter.php, this had a flowon effect in filtersave.php as well.

This commit is contained in:
bhaal2 2016-09-21 20:54:15 +10:00
parent 6c3d877d99
commit 34d586a936
1 changed files with 3 additions and 3 deletions

View File

@ -24,12 +24,12 @@ if ( !canEdit( 'Events' ) )
return; return;
} }
$selectName = "filterId"; $selectName = "Id";
$newSelectName = "newFilterName"; $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']; $filterNames[$row['Id']] = $row['Name'];
if ( $_REQUEST['filterId'] == $row['Id'] ) if ( $_REQUEST['Id'] == $row['Id'] )
{ {
$filterData = $row; $filterData = $row;
} }