mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-13 18:23:57 -04:00
Fix Request variable retrieval
- getSearch functions to properly retrieve HTTP vars. - getVar() function calls replaced with getGet() or getPost() - replaced TRUE/FALSE constants with true/false keywords
This commit is contained in:
@@ -83,7 +83,7 @@ class Secure_Controller extends BaseController
|
||||
{
|
||||
$result = true;
|
||||
|
||||
foreach($this->request->getVar(null, FILTER_SANITIZE_FULL_SPECIAL_CHARS) as $value)
|
||||
foreach($this->request->getGet(null, FILTER_SANITIZE_FULL_SPECIAL_CHARS) as $value)
|
||||
{
|
||||
$result &= (int)parse_decimals($value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user