Trim error message

pull/5268/merge
Aleksander Machniak 8 years ago
parent f840abe6e0
commit 5e1277e971

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

Loading…
Cancel
Save