projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b28438
)
Fixed completely wrong logic in my boolean_preference function
author
acli
<acli>
Mon, 10 Feb 2003 06:37:00 +0000
(06:37 +0000)
committer
acli
<acli>
Mon, 10 Feb 2003 06:37:00 +0000
(06:37 +0000)
C4/Context.pm
patch
|
blob
|
history
diff --git
a/C4/Context.pm
b/C4/Context.pm
index
9fcdb09
..
28946d0
100644
(file)
--- a/
C4/Context.pm
+++ b/
C4/Context.pm
@@
-329,8
+329,8
@@
EOT
sub boolean_preference ($) {
my $self = shift;
my $var = shift; # The system preference to return
- my $it = preference($var);
- return defined($it)? C4::Boolean::
is_true
($it): undef;
+ my $it = preference($
self, $
var);
+ return defined($it)? C4::Boolean::
true_p
($it): undef;
}
# AUTOLOAD