CMS MADE SIMPLE FORGE

CGExtensions

 

[#12138] Incorrect parameter type casting

avatar
Created By: Phil Scoltock (mantapro)
Date Submitted: Wed Sep 11 19:28:18 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 1.62.8
CMSMS Version: 2.2.10
Severity: Minor
Resolution: None
State: Open
Summary:
Incorrect parameter type casting
Detailed Description:
in CGExtensions.module.php    approx line 1872

the line 

public function ShowFormattedMessage(string $msg,bool $is_error = FALSE,bool
$title = null)

incorrectly sets the type of the variable $title to boolean

line should be 
public function ShowFormattedMessage(string $msg,bool $is_error = FALSE,string
$title = null)


History