CMS MADE SIMPLE FORGE

CGExtensions

 

[#12212] to_bool function returns null while it requires a bool return

avatar
Created By: Tomas Amsrud (tamsrud)
Date Submitted: Fri Dec 13 05:10:46 -0500 2019

Assigned To: Robert Campbell (calguy1000)
Version: 1.65
CMSMS Version: 2.2.13
Severity: Minor
Resolution: None
State: Open
Summary:
to_bool function returns null while it requires a bool return
Detailed Description:
In lib/cge_util.php on line 401 it returns null, while it is stated on line 394
that the return must be bool.

This creates a error when using CGSmartImage and the filter_watermark="custom
watermark" parameter.
Because in class.CGImage_Watermark_Filer.php on line 69 it calls to_bool with a
TRUE parameter.


History