Skip to content

Commit

Permalink
Revert "fix(targetchange): prevent SQL escaping bug"
Browse files Browse the repository at this point in the history
This reverts commit c88cb99.
  • Loading branch information
btry committed Aug 11, 2020
1 parent a0428f9 commit 8187a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/targetchange.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public static function import(PluginFormcreatorLinker $linker, $input = [], $con
}

// Escape text fields
foreach (['name', 'target_name'] as $key) {
foreach (['target_name'] as $key) {
$input[$key] = $DB->escape($input[$key]);
}

Expand Down

0 comments on commit 8187a97

Please sign in to comment.