Fix undef check for CKEDITOR