From 18b327b4acdd8f224203e18242544766f43f086d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 6 Nov 2018 09:55:53 -0500 Subject: [PATCH 1/2] Turn off massive debugging --- scripts/ZoneMinder/lib/ZoneMinder/Object.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Object.pm b/scripts/ZoneMinder/lib/ZoneMinder/Object.pm index ee51d0aab..faac440ac 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Object.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Object.pm @@ -51,7 +51,7 @@ use vars qw/ $AUTOLOAD $log $dbh %cache $no_cache/; my $debug = 0; $no_cache = 0; -use constant DEBUG_ALL=>1; +use constant DEBUG_ALL=>0; sub init_cache { $no_cache = 0; From e0bc0484d49e598c8c512e6bc68bd7e7aff0f8ec Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 6 Nov 2018 09:56:29 -0500 Subject: [PATCH 2/2] Add empty string default for DefaultVideo --- scripts/ZoneMinder/lib/ZoneMinder/Event.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index a91b8c948..6c4750845 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -86,6 +86,7 @@ $serial = $primary_key = 'Id'; ); %defaults = ( Cause => q`'Unknown'`, + DefaultVideo => q`''`, TotScore => '0', Archived => '0', Videoed => '0',