Skip to content

Commit 5f95d66

Browse files
authored
Fix invalid number of arguments as we were calling the wrong db function
1 parent 1e7cbdd commit 5f95d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api_automation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5789,7 +5789,7 @@ function automation_template_import($json_data, $tree_branches = false) {
57895789
foreach($data['thold_rules'] AS $rule) {
57905790
$thold_name = $rule['thold_template']['name'];
57915791

5792-
$thold_template_id = db_fetch_cell('SELECT id
5792+
$thold_template_id = db_fetch_cell_prepared('SELECT id
57935793
FROM thold_template
57945794
WHERE hash = ?',
57955795
array($rule['thold_template_id']));

0 commit comments

Comments
 (0)