CMS MADE SIMPLE FORGE

Statistics

 

[#12449] Replace gCms with cmsms() to prevent PHP log warnings

avatar
Created By: TannSan (TannSan)
Date Submitted: Wed May 05 18:56:01 -0400 2021

Assigned To:
Version: 1.2.1.2
CMSMS Version: 2.2.15
Severity: Minor
Resolution: None
State: Open
Summary:
Replace gCms with cmsms() to prevent PHP log warnings
Detailed Description:
In v2 of the CMS $gCms is no longer used but it's used twice in
Statistics.module.php on line 1896 & 1908 which results in PHP warnings in the
error log.

The simple fix is to replace $gCms with cmsms() on lines 1896 & 1908 and then
remove the two global lines on 1895 & 1907.


History