mirror of
https://github.com/webmin/webmin.git
synced 2026-05-21 14:00:31 +01:00
Fix to return error straight away
This commit is contained in:
@@ -13079,7 +13079,7 @@ if (ref($h)) {
|
||||
$rs{'response'} = $h->{'buffer'};
|
||||
}
|
||||
else {
|
||||
$rs{'error'} = $h
|
||||
return { 'error' => $h };
|
||||
}
|
||||
if (ref($h)) {
|
||||
if ($h->{'buffer'} =~ /has\s+moved\s+<a\s+href=['"](.*?)['"]/mi) {
|
||||
|
||||
Reference in New Issue
Block a user