Bug 310 - Fixed problem with editing loaded filters.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1920 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2006-04-07 11:51:29 +00:00
parent 5e3e7cc16b
commit 6753c8fac6
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ if ( !$result )
while ( $row = mysql_fetch_assoc( $result ) )
{
$filter_names[$row['Name']] = $row['Name'];
if ( isset($reload) && isset($filter_name) && $filter_name == $row['Name'] )
if ( !empty($reload) && isset($filter_name) && $filter_name == $row['Name'] )
{
$filter_data = $row;
}