mirror of
https://github.com/itflow-org/itflow
synced 2026-08-05 15:17:17 +00:00
Fix get FieldByID spots
This commit is contained in:
@@ -159,6 +159,8 @@ This file documents all notable changes made to ITFlow.
|
||||
- Certificates can now be searched by description.
|
||||
- Fixed cents calculation rounding.
|
||||
- Fixed guest view credential TOTP display, and removed the legacy OTP code path.
|
||||
- Deleting a ticket template task or a payment provider recorded the wrong name in the audit log
|
||||
and the confirmation message, reading an unrelated record's id in place of the name.
|
||||
- Bulk-creating tickets from a template against multiple assets only added the template's tasks to
|
||||
the first ticket, and dropped each task's completion estimate.
|
||||
- Tickets raised by the nightly recurring schedule were created without a guest URL key, so the
|
||||
|
||||
@@ -71,7 +71,7 @@ if (isset($_GET['delete_payment_provider'])) {
|
||||
// Delete all Saved Cards related
|
||||
// Delete Client Payment Provider Releation
|
||||
|
||||
$provider_name = escapeSql(getFieldById('payment_providers', $provider_id, 'provider_name'));
|
||||
$provider_name = escapeSql(getFieldById('payment_providers', $provider_id, 'payment_provider_name'));
|
||||
|
||||
// Delete provider
|
||||
mysqli_query($mysqli,"DELETE FROM payment_providers WHERE payment_provider_id = $provider_id");
|
||||
|
||||
@@ -101,7 +101,7 @@ if (isset($_GET['delete_task_template'])) {
|
||||
|
||||
$task_template_id = intval($_GET['delete_task_template']);
|
||||
|
||||
$task_template_name = escapeSql(getFieldById('tags', $task_template_id, 'task_template_name'));
|
||||
$task_template_name = escapeSql(getFieldById('task_templates', $task_template_id, 'task_template_name'));
|
||||
|
||||
mysqli_query($mysqli, "DELETE FROM task_templates WHERE task_template_id = $task_template_id");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user