Author Topic: Error on blank file edit  (Read 6749 times)

0 Members and 1 Guest are viewing this topic.

Error on blank file edit
« on: November 05, 2014, 06:43:42 PM »
On the demo page, the following URL gives an error on missing file or blank file:
Warning: fread(): Length parameter must be greater than 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/file_editor.php(1) : eval()'d code(1) : eval()'d code on line 18
Could not read file!

There is a confusion between 0 length and boolean false in some if check.