Bug 30446: (follow-up) Remove warning
This patch removes a trivial warning caused by a parameter being compared to a literal but not being defined. Doing a $ git grep GetTagsLabels shows the change is safe as the function is always called with a value of either 0 or 1. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
24db0479e6
commit
4c8987b64e
|
|
@ -465,7 +465,7 @@ sub GetTagsLabels {
|
|||
my $dbh=C4::Context->dbh;
|
||||
$authtypecode="" unless $authtypecode;
|
||||
my $sth;
|
||||
my $libfield = ($forlibrarian == 1)? 'liblibrarian' : 'libopac';
|
||||
my $libfield = ($forlibrarian) ? 'liblibrarian' : 'libopac';
|
||||
|
||||
|
||||
# check that authority exists
|
||||
|
|
|
|||
Loading…
Reference in New Issue