X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Finsert.getName.php;h=996ebfc8b1f111794205f3bcde597665c856c29b;hb=d20d604fa15378027f843525dcf30fde27d29d31;hp=81058cc1080468e22b5dee265f79df306768f266;hpb=08cce2ff528b38bde27cdec6d6bc28d6af4a42d4;p=platal.git diff --git a/plugins/insert.getName.php b/plugins/insert.getName.php index 81058cc..996ebfc 100644 --- a/plugins/insert.getName.php +++ b/plugins/insert.getName.php @@ -21,8 +21,7 @@ function smarty_insert_getName() { - global $globals; - $uid = Cookie::get('ORGuid', -1); + $uid = Cookie::v('ORGuid', -1); if ($uid < 0) { return ""; }