mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
fix calls
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@165 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
35e2c888c7
commit
8e872a324e
4
hook.php
4
hook.php
@ -187,7 +187,7 @@ function plugin_example_addWhere($link,$nott,$type,$ID,$val) {
|
||||
$table = $searchopt[$ID]["table"];
|
||||
$field = $searchopt[$ID]["field"];
|
||||
|
||||
$SEARCH = makeTextSearch($val,$nott);
|
||||
$SEARCH = Search::makeTextSearch($val,$nott);
|
||||
|
||||
// Example of standard Where clause but use it ONLY for specific Where
|
||||
// No need of the function if you do not have specific cases
|
||||
@ -212,7 +212,7 @@ function plugin_example_addHaving($link,$nott,$type,$ID,$val,$num) {
|
||||
$table = $searchopt[$ID]["table"];
|
||||
$field = $searchopt[$ID]["field"];
|
||||
|
||||
$SEARCH = makeTextSearch($val,$nott);
|
||||
$SEARCH = Search::makeTextSearch($val,$nott);
|
||||
|
||||
// Example of standard Having clause but use it ONLY for specific Having
|
||||
// No need of the function if you do not have specific cases
|
||||
|
Loading…
x
Reference in New Issue
Block a user