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:
parent
5e3e7cc16b
commit
6753c8fac6
|
@ -31,7 +31,7 @@ if ( !$result )
|
||||||
while ( $row = mysql_fetch_assoc( $result ) )
|
while ( $row = mysql_fetch_assoc( $result ) )
|
||||||
{
|
{
|
||||||
$filter_names[$row['Name']] = $row['Name'];
|
$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;
|
$filter_data = $row;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue