escape sql string for my Travais friend
This commit is contained in:
parent
fb076a9282
commit
a11b5b4399
@ -235,7 +235,7 @@ if ($action == 'getProducts') {
|
||||
$sql .= $hookmanager->resPrint;
|
||||
|
||||
// load only one page of products
|
||||
$sql.= ' LIMIT '. $search_start . ',' . $search_limit;
|
||||
$sql.= ' LIMIT '. $db->escape($search_start) . ',' . $db->escape($search_limit);
|
||||
|
||||
$resql = $db->query($sql);
|
||||
if ($resql) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user