From fca550fe8e08600eb07e2a1b20940cd61a7901ce Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 7 Apr 2006 13:56:26 +0000 Subject: [PATCH] Fixed issue with detecting missing config. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1923 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmupdate.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmupdate.pl b/scripts/zmupdate.pl index bc7e7bdcd..f5cbaaebb 100644 --- a/scripts/zmupdate.pl +++ b/scripts/zmupdate.pl @@ -575,7 +575,7 @@ if ( $version ) { print( "Updating monitors. Please wait.\n" ); - if ( ZM_NO_MAX_FPS_ON_ALARM ) + if ( defined(&ZM_NO_MAX_FPS_ON_ALARM) && &ZM_NO_MAX_FPS_ON_ALARM ) { # Update the individual monitor settings to match the previous global one my $sql = "update Monitors set AlarmMaxFPS = NULL";