projects
/
banana.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Year of the post
[banana.git]
/
banana
/
nntpcore.inc.php
diff --git
a/banana/nntpcore.inc.php
b/banana/nntpcore.inc.php
index
5d8bc63
..
7579c2a
100644
(file)
--- a/
banana/nntpcore.inc.php
+++ b/
banana/nntpcore.inc.php
@@
-79,7
+79,11
@@
class BananaNNTPCore
public function lastError()
{
- return $this->lasterrortext;
+ if (!is_utf8($this->lasterrortext)) {
+ return utf8_encode($this->lasterrortext);
+ } else {
+ return $this->lasterrortext;
+ }
}
public function backtrace()