CMS MADE SIMPLE FORGE

Cart Made Simple

 

[#8963] Mandatory telephone number in Cart Made Simple produces warning when telephone number is left blank.

avatar
Created By: Marc Oudeowrtel (mdo)
Date Submitted: Thu Feb 21 03:26:35 -0500 2013

Assigned To: Duketown (duketown)
Version: Version 0.4.3
CMSMS Version: None
Severity: Minor
Resolution: Accepted
State: Open
Summary:
Mandatory telephone number in Cart Made Simple produces warning when telephone number is left blank.
Detailed Description:
If in the settings of Cart Made Simple telephone number is set to mandatory and
the user leaves the telephone number blank in the form.   There will not be
generated an user error message, but the following error will be displayed in
the browser.  (regardless of the php.ini error settings)

Warning: Parameter telephone is not known by module CartMadeSimple dropped
in/var/www/clients/client12/web35/web/lib/misc.functions.php on line 1590


'''Solution:'''
Based on a tip of duketown I've added the following line to the file
CartMadeSimpleModule.php

$this->SetParameterType('telephone', CLEAN_STRING);


.


History

Comments
avatar
Date: 2013-12-13 01:23
Posted By: Duketown  (duketown)

Solved as of version 0.4.5
      
Updates

Updated: 2013-12-13 01:23
resolution_id: => 6