projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix SUID
[platal.git]
/
modules
/
search.php
diff --git
a/modules/search.php
b/modules/search.php
index
1a98912
..
56af880
100644
(file)
--- a/
modules/search.php
+++ b/
modules/search.php
@@
-90,7
+90,7
@@
class SearchModule extends PLModule
if (Env::has('quick') || $action == 'geoloc') {
$quick = trim(Env::v('quick'));
if (S::logged() && !Env::has('page')) {
if (Env::has('quick') || $action == 'geoloc') {
$quick = trim(Env::v('quick'));
if (S::logged() && !Env::has('page')) {
-
$_SESSION['log']
->log('search', 'quick=' . $quick);
+
S::logger()
->log('search', 'quick=' . $quick);
}
$list = 'profile|prf|fiche|fic|referent|ref|mentor';
if (S::has_perms()) {
}
$list = 'profile|prf|fiche|fic|referent|ref|mentor';
if (S::has_perms()) {
@@
-185,7
+185,7
@@
class SearchModule extends PLModule
'city' => array('table' => 'geoloc_city', 'text' => 'name', 'exact' => false)
);
if (!Env::has('page')) {
'city' => array('table' => 'geoloc_city', 'text' => 'name', 'exact' => false)
);
if (!Env::has('page')) {
-
$_SESSION['log']
->log('search', 'adv=' . var_export($_GET, true));
+
S::logger()
->log('search', 'adv=' . var_export($_GET, true));
}
foreach ($textFields as $field=>&$query) {
if (!Env::v($field) && Env::v($field . 'Txt')) {
}
foreach ($textFields as $field=>&$query) {
if (!Env::v($field) && Env::v($field . 'Txt')) {