[svn r10004] bugfix for replacing $_uid with $_user['user_id']

skala
Patrick Cool 19 years ago
parent bdba62ad53
commit 2ca91996ac
  1. 2
      main/inc/lib/main_api.lib.php

@ -352,7 +352,7 @@ function api_get_path($path_type)
*/
function api_get_user_id()
{
return $GLOBALS[$_user]['user_id'];
return $GLOBALS['_user']['user_id'];
}
/**
* @param $user_id (integer): the id of the user

Loading…
Cancel
Save