diff --git a/lib/system/system_data_source/file/file.php b/lib/system/system_data_source/file/file.php index 4539bb1..da894c6 100755 --- a/lib/system/system_data_source/file/file.php +++ b/lib/system/system_data_source/file/file.php @@ -121,7 +121,12 @@ class File */ function readAll() { - return implode ('', $this->content); + if( is_array($this-content) + return implode ('', $this->content); + else if( is_string($this->content) + return $this->content; + else + return $this->content; } /**