From 037f197f5433053da72538a07bbf8bf61cd20c1c Mon Sep 17 00:00:00 2001 From: gmanic <30374118+gmanic@users.noreply.github.com> Date: Wed, 3 Feb 2021 12:53:33 +0100 Subject: [PATCH] corrected $this to $self --- scripts/ZoneMinder/lib/ZoneMinder/Control/onvif.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Control/onvif.pm b/scripts/ZoneMinder/lib/ZoneMinder/Control/onvif.pm index f69441aff..8c1f2114e 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Control/onvif.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Control/onvif.pm @@ -65,7 +65,7 @@ sub sendCmd { my $self = shift; my $cmd = shift; my $result = undef; - $this->printMsg($cmd, 'Tx'); + $self->printMsg($cmd, 'Tx'); my $req = HTTP::Request->new(GET=>'http://'.$self->{Monitor}->{ControlAddress}.'/'.$cmd); my $res = $self->{ua}->request($req);