Page 1 of 1

Saving an empty CSS file triggers bogus warning

Posted: Sun Mar 12, 2017 2:44 pm
by cmb
Saving an empty CSS file (regardless whether template or plugin stylesheet) triggers a bogus "Could not save file" warning, even though saving the empty file succeeded.

This is caused by a sloppy check of the return value of XH_FileEdit::save() which may return zero or false.

I've fixed that right away.