Trim error message

pull/5754/head
Aleksander Machniak 8 years ago
parent 4dc138b8c1
commit e2ca2e1d08

@ -103,7 +103,7 @@ class rcube_spellcheck_googie extends rcube_spellcheck_engine
if (preg_match('!^HTTP/1.\d (\d+)(.+)!', $store, $m)) {
$http_status = $m[1];
if ($http_status != '200') {
$this->error = 'HTTP ' . $m[1] . $m[2];
$this->error = 'HTTP ' . $m[1] . rtrim($m[2]);
}
}

Loading…
Cancel
Save