Fix session bootstrap
[platal.git] / include / profil.func.inc.php
index a20ce4c..803dc30 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  Copyright (C) 2003-2007 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -24,7 +24,7 @@ require_once('applis.func.inc.php');
 
 function replace_ifset(&$var,$req) {
     if (Env::has($req)){
-        $var = Env::get($req);
+        $var = Env::v($req);
     }
 }
 
@@ -284,4 +284,5 @@ function diff_user_pros(&$a, &$b, $view = 'private') {
     return $c;
 }
 
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
 ?>