Debug error in TinyMCE / dialog.php in CMSMS 2.2.21

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
funkyhead
New Member
New Member
Posts: 7
Joined: Mon Oct 30, 2017 2:50 pm

Debug error in TinyMCE / dialog.php in CMSMS 2.2.21

Post by funkyhead »

Hi,
after severals bugs* in TinyMCE when i try to add a PDF file link in a page with TinyMCE : the window was empty or display only one file.

I add this modif in this source :

modules/TinyMCE/responsive_filemanager/filemanager/dialog.php

Line 1197, add of : "?? []"

<?php }elseif(in_array($file_array['extension'],$config['cad_exts'] ?? [])){

After that no more problem.
Thx for your attention.

* with PHP 8.3.19
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1760
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Debug error in TinyMCE / dialog.php in CMSMS 2.2.21

Post by DIGI3 »

Please remember that code changes are not permitted on the forum, for various reasons including they don't get tracked with the versions. Please use dev.cmsmadesimple.org to file bug reports, code changes can be included there.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”