CMXX - Pricelists
This commit is contained in:
@@ -85,7 +85,7 @@ if ($command == 'update' && isAllowed('pricelists_manage',$profile,$permission,'
|
||||
$stmt->execute($execute_input);
|
||||
}
|
||||
elseif ($command == 'insert' && isAllowed('pricelists_manage',$profile,$permission,'C') === 1){
|
||||
$sql = 'INSERT INTO pricelists('.$clause_insert.') VALUES ('.$input_insert.')';
|
||||
$sql = 'INSERT INTO pricelists ('.$clause_insert.') VALUES ('.$input_insert.')';
|
||||
$stmt = $pdo->prepare($sql);
|
||||
$stmt->execute($execute_input);
|
||||
// Return ID
|
||||
|
||||
Reference in New Issue
Block a user