mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fix case where expected value is zero https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3537724&group_id=17457
This commit is contained in:
@ -37,7 +37,7 @@ if (!$cmd->execute()) {
|
||||
local @r = $cmd->fetchrow();
|
||||
$cmd->finish();
|
||||
|
||||
if ($_[0]->{'result'} && $r[0] ne $_[0]->{'result'}) {
|
||||
if ($_[0]->{'result'} ne '' && $r[0] ne $_[0]->{'result'}) {
|
||||
return { 'up' => 0,
|
||||
'desc' => &text('query_ewrong', $r[0]) };
|
||||
}
|
||||
|
Reference in New Issue
Block a user