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={?}',
}
}
-if (Session::get('core_rss_hash') > '')
-{
+if (Session::get('core_rss_hash')) {
$page->assign('rsshash','oui');
}