projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes user check.
[platal.git]
/
htdocs
/
listes_redirect.php
diff --git
a/htdocs/listes_redirect.php
b/htdocs/listes_redirect.php
index
29ad13f
..
8c08052
100644
(file)
--- a/
htdocs/listes_redirect.php
+++ b/
htdocs/listes_redirect.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-20
09
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-35,7
+35,7
@@
if ($matches) {
http_redirect("https://www.polytechnique.org/lists/$action/$mbox$sup");
}
http_redirect("https://www.polytechnique.org/lists/$action/$mbox$sup");
}
- $res = XDB::query("
select diminutif from groupex.asso where
mail_domain = {?}", $fqdn);
+ $res = XDB::query("
SELECT diminutif FROM groups WHERE
mail_domain = {?}", $fqdn);
if ($gpx = $res->fetchOneCell()) {
http_redirect("http://www.polytechnique.net/$gpx/lists/$action/$mbox$sup");
}
if ($gpx = $res->fetchOneCell()) {
http_redirect("http://www.polytechnique.net/$gpx/lists/$action/$mbox$sup");
}