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', 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;