CMXX - Update history table to equipment_history

This commit is contained in:
“VeLiTi”
2024-12-02 19:13:44 +01:00
parent 6bb7b2d1de
commit c0f43a5ed0
4 changed files with 8 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ if ($command == 'update' && !isset($post_content['delete']) && isAllowed('histor
$stmt->execute($execute_input);
}
elseif ($command == 'insert' && !isset($post_content['delete']) && isAllowed('history',$profile,$permission,'C') === 1){
$sql = 'INSERT INTO history ('.$clause_insert.') VALUES ('.$input_insert.')';
$sql = 'INSERT INTO equipment_history ('.$clause_insert.') VALUES ('.$input_insert.')';
$stmt = $pdo->prepare($sql);
$stmt->execute($execute_input);
}