X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-beg.php;h=0591b598b3cfae4b2bcafe62d3cfc9744d5eeda1;hp=efcb3c1b5f5b8c1e1a8826b7842fd5a3ffa43f85;hb=508228c85fba8448d00865b1639cb8cd7a69e457;hpb=77cdaff2afb97ed32985ced906a3a95ee078c2ef diff --git a/inc/modules/member/what-beg.php b/inc/modules/member/what-beg.php index efcb3c1b5f..0591b598b3 100644 --- a/inc/modules/member/what-beg.php +++ b/inc/modules/member/what-beg.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Bettel-Link * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -38,14 +43,14 @@ if (!defined('__SECURITY')) { } elseif (!IS_MEMBER()) { LOAD_URL("modules.php?module=index"); } elseif ((!EXT_IS_ACTIVE("beg")) && (!IS_ADMIN())) { - addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "beg"); + addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "beg"); return; } // Add description as navigation point ADD_DESCR("member", __FILE__); -$uid = $GLOBALS['userid']; +$uid = getUserId(); if (EXT_IS_ACTIVE("nickname")) { // Load nickname @@ -67,7 +72,7 @@ SQL_FREERESULT($result); // Set User-ID when no nickname was found $nickname = true; -if (empty($uid)) { $uid = $GLOBALS['userid']; $nickname = false; } +if (empty($uid)) { $uid = getUserId(); $nickname = false; } // Prepare constants define('__BEG_UID' , $uid);