Skip to content

Commit

Permalink
fix(targetbase): rename of a target was ignored
Browse files Browse the repository at this point in the history
caused by a refactor

Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jan 30, 2019
1 parent 65a48fe commit 4f0c7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/targetbase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ public function prepareInputForUpdate($input) {
if (isset($input['name'])) {
$target = new PluginFormcreatorTarget();
$target->getFromDBByCrit([
'itemtype' => self::class,
'itemtype' => static ::class,
'items_id' => $this->getID()
]);
if (!$target->isNewItem()) {
Expand Down

0 comments on commit 4f0c7c8

Please sign in to comment.