mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
pass 'searchtype' to addWhere hook
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@191 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
2
hook.php
2
hook.php
@ -180,7 +180,7 @@ function plugin_example_forceGroupBy($type) {
|
||||
}
|
||||
|
||||
|
||||
function plugin_example_addWhere($link,$nott,$type,$ID,$val) {
|
||||
function plugin_example_addWhere($link, $nott, $type, $ID, $val, $searchtype) {
|
||||
|
||||
$searchopt = &Search::getOptions($type);
|
||||
$table = $searchopt[$ID]["table"];
|
||||
|
Reference in New Issue
Block a user