From bf404212032b033fe2a20e77813e0688ac0b17b1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 27 Aug 2019 13:54:19 -0400 Subject: [PATCH] Turn on debugging in Event --- scripts/ZoneMinder/lib/ZoneMinder/Event.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index d99aaee04..231c6d443 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -56,7 +56,8 @@ use ZoneMinder::Config qw(:all); use ZoneMinder::Logger qw(:all); use ZoneMinder::Database qw(:all); -use vars qw/ $table $primary_key %fields $serial @identified_by %defaults/; +use vars qw/ $table $primary_key %fields $serial @identified_by %defaults $debug/; +$debug = 1; $table = 'Events'; @identified_by = ('Id'); $serial = $primary_key = 'Id';