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:
remicollet 2012-03-27 08:03:34 +00:00
parent 622ff0617d
commit 1daf2a0372

View File

@ -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"];