Patches applied:
* opensource@polytechnique.org--2005/platal--release--0.9.5--patch-16
manageurs bugfix / modif de JM
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-623
$currentCategory->automatic = $attrs['AUTOMATIC'];
$currentCategory->cref = $attrs['CREF'];
if(isset($attrs['REFINEHREF'])) $currentCategory->refine_href = convert_url($attrs['REFINEHREF']);
- //if(isset($attrs['REFINEHREF'])) $this->currentCategory->refine_href = $attrs['REFINEHREF'];
- //if(isset($attrs['EXCLUDEHREF'])){
- // $currentCategory->exclude_href = $attrs['EXCLUDEHREF'];
- //}
- //else{
- $currentCategory->exclude_href = '_c=-'.$currentCategory->cref;
- //}
+ $currentCategory->exclude_href = '_c=-'.$currentCategory->cref;
if(isset($attrs['RESETHREF'])){
$currentCategory->reset_href = $attrs['RESETHREF'];
}
$mbox = $matches[2];
$fqdn = strtolower($matches[3]);
if ($fqdn == 'polytechnique.org') {
- header("Location: https://www.polytechnique.org/listes/$action?liste=$mbox");
+ header("Location: https://www.polytechnique.org/listes/$action.php?liste=$mbox");
} else {
require("../include/xorg.inc.php");
$res = $globals->xdb->query("select diminutif from groupex.asso where mail_domain = {?}", $fqdn);
if ($gpx = $res->fetchOneCell()) {
- header("Location: http://www.polytechnique.net/$gpx/listes-$action?liste=$mbox");
+ header("Location: http://www.polytechnique.net/$gpx/listes-$action.php?liste=$mbox");
}
}
}