Skip to content

Commit cdc7296

Browse files
committed
deprecated syntax ${where} -> {$where}
1 parent 0482997 commit cdc7296

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/functions/testplan.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ function unlink_tcversions($id,&$items) {
12071207
// First get the executions id if any exist
12081208
$sql = " /* $debugMsg */ SELECT id AS execution_id
12091209
FROM {$this->tables['executions']}
1210-
WHERE testplan_id = {$id} AND ${where_clause}";
1210+
WHERE testplan_id = {$id} AND {$where_clause}";
12111211

12121212
$exec_ids = $this->db->fetchRowsIntoMap($sql,'execution_id');
12131213

@@ -1266,7 +1266,7 @@ function unlink_tcversions($id,&$items) {
12661266

12671267
// Grand Finale now remove executions
12681268
$sql = " /* $debugMsg */ DELETE FROM {$this->tables['executions']}
1269-
WHERE testplan_id = {$id} AND ${where_clause}";
1269+
WHERE testplan_id = {$id} AND {$where_clause}";
12701270
$result = $this->db->exec_query($sql);
12711271
}
12721272

0 commit comments

Comments
 (0)