Better visibility of the https
[platal.git] / plugins / insert.getName.php
index 78a1285..e4a30ae 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   *
@@ -21,7 +21,7 @@
 
 function smarty_insert_getName()
 {
-    $uid = Cookie::get('ORGuid', -1);
+    $uid = Cookie::v('ORGuid', -1);
     if ($uid < 0) {
         return "";
     }