mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-05 15:11:07 -05:00
Use Content-Type application/json for AJAX responses
This commit is contained in:
@@ -88,7 +88,7 @@ class Secure_Controller extends BaseController
|
||||
* @return void
|
||||
* @noinspection PhpUnused
|
||||
*/
|
||||
public function getCheckNumeric(): void
|
||||
public function getCheckNumeric(): ResponseInterface|string
|
||||
{
|
||||
foreach ($this->request->getGet() as $value) {
|
||||
if (parse_decimals($value) === false) {
|
||||
|
||||
Reference in New Issue
Block a user