From 4a9694782c101a59635d2aec411cf4f1a84e9dde Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Mar 2019 17:08:45 +0100 Subject: [PATCH] phpcs --- htdocs/takepos/ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/ajax.php b/htdocs/takepos/ajax.php index db8b3fdff56..9586e71fd18 100644 --- a/htdocs/takepos/ajax.php +++ b/htdocs/takepos/ajax.php @@ -49,7 +49,7 @@ if ($action=="getProducts") { echo json_encode($prods); } -else if ($action=="search") { +elseif ($action=="search") { $sql = 'SELECT * FROM '.MAIN_DB_PREFIX.'product'; $sql .= ' WHERE entity IN ('.getEntity('product').')'; $sql .= ' AND tosell = 1';