Fixed undefined filterData when saving filters.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2847 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2009-04-14 10:13:06 +00:00
parent 6f89730f2e
commit ce8e120765
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ xhtmlHeaders(__FILE__, $SLANG['SaveFilter'] );
</p>
<?php } ?>
<p>
<label for="background"><?= $SLANG['BackgroundFilter'] ?></label><input type="checkbox" name="background" value="1"<?php if ( $filterData['Background'] ) { ?> checked="checked"<?php } ?>/>
<label for="background"><?= $SLANG['BackgroundFilter'] ?></label><input type="checkbox" name="background" value="1"<?php if ( !empty($filterData['Background']) ) { ?> checked="checked"<?php } ?>/>
</p>
<div id="contentButtons">
<input type="submit" value="<?= $SLANG['Save'] ?>"<?php if ( !canEdit( 'Events' ) ) { ?> disabled="disabled"<?php } ?>/><input type="button" value="<?= $SLANG['Cancel'] ?>" onclick="closeWindow();"/>