-if (!REQUEST_ISSET_GET(('mode'))) {
- // Get referal id
- $content['refid'] = getConfig(('primera_refid'));
-
- // Get Primus id
- $result = SQL_QUERY_ESC("SELECT primera_userid FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1",
- array($GLOBALS['userid']), __FILE__, __LINE__);
-
- // Are there some entries?
- if (SQL_NUMROWS($result) == 1) {
- // Fetch ID
- list($content['primera_nickname']) = SQL_FETCHROW($result);
- } // END - if
-
- // Free result
- SQL_FREERESULT($result);
-
- // Is there an ID?
- if ((!empty($content['primera_nickname'])) && (!REQUEST_ISSET_GET(('mode')))) {
+if (!isGetRequestParameterSet('mode')) {
+ // Is there an id?
+ if ((!empty($content['primera_nickname'])) && (!isGetRequestParameterSet('mode'))) {