Fixed errors

This commit is contained in:
Rooty 2021-09-23 03:16:39 +02:00
parent 0b86b60697
commit f6cceac3fe

View File

@ -121,9 +121,9 @@ class File
*/
function readAll()
{
if( is_array($this-content)
if( is_array($this-content) )
return implode ('', $this->content);
else if( is_string($this->content)
else if( is_string($this->content) )
return $this->content;
else
return $this->content;