Merge pull request #1633 from bhaal2/storageareas

Storageareas
This commit is contained in:
Isaac Connor 2016-09-28 09:43:00 -04:00 committed by GitHub
commit 09f7c9ddf9
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;
} }