CMS MADE SIMPLE FORGE

Frontend Users

 

[#11847] typed error

avatar
Created By: Roland (Xtra42)
Date Submitted: Sun Jun 24 14:00:09 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 2.10
CMSMS Version: 2.2.7
Severity: Minor
Resolution: None
State: Open
Summary:
typed error
Detailed Description:
an entry error in the following code in the file
action.do_userchangesettings.php

catch( \Exception $e ) {
    $err = $e->GetMessage();
    $params['error'] = 1;
    $params['mesage'] = $e->GetMessage();  <-----here "message"
    $this->myRedirect( $id, 'changesettings', $returnid, $params );
}

not tested as above but I think the problem is the same on the file
action.addprop.php

if( isset($params['propname']) ) {
    $propname = trim($params['propname']);
    $title = $this->Lang('editprop',$propname);
    $defn = $this->GetPropertyDefn($propname);
    if( $defn == FALSE ) {
        $parms = array();
        $parms['error'] = 1;
$parms['mesage'] = $this->Lang('error_propnotfound');  <-----here
"message"
        $this->RedirectToTab($id,'properties',$parms);
        return;
    }


History