Skip to content

Commit 2947d6f

Browse files
committed
fix(form): forbid clone massive action in GLPI 9.5
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 8843611 commit 2947d6f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

inc/form.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,12 @@ public function transfer($entity) {
15321532
return $result;
15331533
}
15341534

1535+
public function getForbiddenStandardMassiveAction() {
1536+
return [
1537+
'clone',
1538+
];
1539+
}
1540+
15351541
/**
15361542
* @since version 0.85
15371543
*

0 commit comments

Comments
 (0)