CMS MADE SIMPLE FORGE

CGCalendar

 

[#12068] CGCalendarSettings broken

avatar
Created By: Jochen Michels (macyogi)
Date Submitted: Sat Jul 13 07:53:52 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 2.6.1
CMSMS Version: 2.2.10
Severity: Major
Resolution: None
State: Open
Summary:
CGCalendarSettings broken
Detailed Description:
Dear Calguy,
After updating to 2.6.1 the CGCalendar Settings in the backend  are broken due
to a fatal error: Call to undefined method CmsApp::GetSimplePluginOperations()

Digging into function.admin_fieldstab.php, I found that you added a version
check on line 60:

if( version_compare(CMS_VERSION,'.2.2.99') < 1 )

I assume its buggy due to the leading period in the second parameter. After
removing it to

if( version_compare(CMS_VERSION,'2.2.99') < 1 )

the Settings works fine again.

I am on php 7.3.7.

Thanks for all your efforts again
macyogi


History