mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 15:13:40 -04:00
Filtering
- Added filtering to decimals which may have different comma separator - Added formatting of decimals before concatenating into string - Cast int to string in form_hidden() call Signed-off-by: objecttothis <objecttothis@gmail.com>
This commit is contained in:
@@ -329,7 +329,7 @@ class Config extends Secure_Controller
|
||||
'company' => $this->request->getPost('company'),
|
||||
'address' => $this->request->getPost('address'),
|
||||
'phone' => $this->request->getPost('phone'),
|
||||
'email' => $this->request->getPost('email', FILTER_SANITIZE_EMAIL),
|
||||
'email' => strtolower($this->request->getPost('email', FILTER_SANITIZE_EMAIL)),
|
||||
'fax' => $this->request->getPost('fax'),
|
||||
'website' => $this->request->getPost('website', FILTER_SANITIZE_URL),
|
||||
'return_policy' => $this->request->getPost('return_policy')
|
||||
|
||||
Reference in New Issue
Block a user