Convert sources to UTF-8
[banana.git] / banana / nntp.inc.php
index 3b02c86..37a354f 100644 (file)
@@ -115,7 +115,8 @@ class BananaNNTP extends BananaNNTPCore implements BananaProtocoleInterface
         if ($data !== false) {
             return new BananaMessage($data);
         }
-        return null;
+        $data = null;
+        return $data;
     }
 
     /** Return the sources of the message
@@ -134,7 +135,8 @@ class BananaNNTP extends BananaNNTPCore implements BananaProtocoleInterface
         if ($data !== false) {
             return implode("\n", $data);
         }
-        return null;
+        $data = null;
+        return $data;
     }
 
     /** Return the indexes of the messages presents in the Box
@@ -252,5 +254,5 @@ class BananaNNTP extends BananaNNTPCore implements BananaProtocoleInterface
     }
 }
 
-// vim:set et sw=4 sts=4 ts=4:
+// vim:set et sw=4 sts=4 ts=4 enc=utf-8:
 ?>