Skip to content

Commit

Permalink
Trim error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jun 12, 2016
1 parent 4dc138b commit e2ca2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube_spellcheck_googie.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function check($text)
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]);
}
}

Expand Down

0 comments on commit e2ca2e1

Please sign in to comment.