diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-07-24 18:34:56 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-07-24 18:34:56 (GMT) |
commit | 6e0e3a9c798ce1b21c939603484b0b08a4f0f23e (patch) | |
tree | 772e0a1114b440f7ded71b48234d9ec795a6f3d0 /lib | |
parent | b258601718869cab96ea99bbe7a7484f5a2aee75 (diff) |
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/RHRD/rddb.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/RHRD/rddb.pm b/lib/RHRD/rddb.pm index b1641ed..63a182c 100755 --- a/lib/RHRD/rddb.pm +++ b/lib/RHRD/rddb.pm @@ -195,7 +195,7 @@ sub get_show_carts my $log_exists = $sth->fetchrow_array; $sth->finish(); - if(!defined $log_exists && $log_exists eq 'Y') { + if(!defined $log_exists || $log_exists ne 'Y') { return (undef, 'ERROR', "Log with name '$logname' does not exist") } |