mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
fix hook options
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@141 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
4f57c9b397
commit
a8f6e5aade
2
hook.php
2
hook.php
@ -295,10 +295,10 @@ function plugin_example_MassiveActionsProcess($data) {
|
||||
function plugin_example_MassiveActionsFieldsDisplay($options=array()) {
|
||||
//$type,$table,$field,$linkfield
|
||||
|
||||
if ($table == getTableForItemType($options)) {
|
||||
$table = $options['options']['table'];
|
||||
$field = $options['options']['field'];
|
||||
$linkfield = $options['options']['linkfield'];
|
||||
if ($table == getTableForItemType($options['itemtype'])) {
|
||||
|
||||
// Table fields
|
||||
switch ($table.".".$field) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user