projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
affiche le bouton de carte meme quand y a une erreur de recherche trop generale sur...
[platal.git]
/
htdocs
/
preferences.php
diff --git
a/htdocs/preferences.php
b/htdocs/preferences.php
index
51bb3f4
..
b2cb4bb
100644
(file)
--- a/
htdocs/preferences.php
+++ b/
htdocs/preferences.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
4
Polytechnique.org *
+ * Copyright (C) 2003-200
6
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 *
@@
-30,7
+30,7
@@
if (Env::has('mail_fmt')) {
SET core_mail_fmt = '$fmt'
WHERE user_id = {?}", Session::getInt('uid'));
$_SESSION['mail_fmt'] = $fmt;
SET core_mail_fmt = '$fmt'
WHERE user_id = {?}", Session::getInt('uid'));
$_SESSION['mail_fmt'] = $fmt;
-
header('Location:
preferences.php');
+
redirect('
preferences.php');
}
if (Env::has('rss')) {
}
if (Env::has('rss')) {
@@
-42,7
+42,7
@@
if (Env::has('rss')) {
$globals->xdb->execute('UPDATE auth_user_quick SET core_rss_hash="" WHERE user_id={?}', Session::getInt('uid'));
Session::kill('core_rss_hash');
}
$globals->xdb->execute('UPDATE auth_user_quick SET core_rss_hash="" WHERE user_id={?}', Session::getInt('uid'));
Session::kill('core_rss_hash');
}
-
header('Location:
preferences.php');
+
redirect('
preferences.php');
}
$page->assign('prefs', $globals->hook->prefs());
}
$page->assign('prefs', $globals->hook->prefs());