accents dans geoloc + fond rose pour la carte sur xnet
[platal.git] / htdocs / filrss.php
index 55d4c0b..85ea594 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -29,7 +29,7 @@ if (Env::has('referer')) {
 
 if (Env::has('referer')) {
     $act = Env::get('act_rss');
-    if ($act == 'Activer'){
+    if ($act == 'Activer') {
         $page->trig("Ton Fil RSS est activĂ©.");
         $_SESSION['core_rss_hash'] = rand_url_id(16);
         $globals->xdb->execute('UPDATE auth_user_quick SET core_rss_hash={?} WHERE user_id={?}',
@@ -37,8 +37,7 @@ if (Env::has('referer')) {
     }                                
 }
 
-if (Session::get('core_rss_hash') > '')
-{
+if (Session::get('core_rss_hash')) {
     $page->assign('rsshash','oui');
 }