]> git.koha-community.org Git - koha.git/commit
Bug 8834 - Call to C4::Context::preference fails to pass $self in Circulation.pm
authorMark Tompsett <mtompset@hotmail.com>
Thu, 27 Sep 2012 06:12:00 +0000 (14:12 +0800)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 24 Oct 2012 16:21:23 +0000 (18:21 +0200)
commitc66270c02ff56e7eb5430013e7e9417115e39aae
treec4cd3c0a0541267cffc7709cce2516c0ca7a377a
parent5a648ac884be0a25112f01e309de64dd1b862e22
Bug 8834 - Call to C4::Context::preference fails to pass $self in Circulation.pm

Changed:
    my $circcontrol = C4::Context::preference('CircControl');
To:
    my $circcontrol = C4::Context->preference('CircControl');
This will pass $self and 'CircControl' which will then prevent
a "Use of uninitialized value" error log entry.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Circulation.pm