CMS MADE SIMPLE FORGE

CGUserDirectory

 

[#12450] Does not work with CGExtensions v1.65.2

avatar
Created By: Chris Taylor (chrisbt)
Date Submitted: Thu May 06 05:26:06 -0400 2021

Assigned To:
Version: 1.5.1
CMSMS Version: 2.2.15
Severity: None
Resolution: None
State: Open
Summary:
Does not work with CGExtensions v1.65.2
Detailed Description:
Does not work with CGExtensions v1.65.2

Possible bug in CGE, but the following in CGE fixes it

public function CGGetPreference($pref_name,$dflt_value = null,$allow_empty =
FALSE)
    {
        $tmp = $this->GetPreference($pref_name,$dflt_value);
        if (!empty($tmp)) $tmp = trim($tmp);
        if( !empty($tmp) || is_numeric($tmp) ) return $tmp;
        if( $allow_empty ) return $tmp;
        return $dflt_value;
    }

CGExtensions.module.php, lines: 1681-1687


History