]> git.mxchange.org Git - mailer.git/blobdiff - ref.php
Rewrites/fixes for surfbar
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index f3fa2597bb8842c1952d0d279dfc4079ab8c421c..6fd272a009afc08193a1ee0f3e968911b1235d38 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -47,12 +48,12 @@ $GLOBALS['output_mode'] = -1;
 require('inc/config-global.php');
 
 // Set content type for e.g. search engines
-if (isSpider()) setContentType('text/html');
+setContentType('text/html');
 
 // No refid by default
 $URL = 'modules.php?module=index';
 
-if (determineReferalId() > 0) {
+if (determineReferalId() != 0) {
        // Test if nickname or numeric id
        if (isExtensionActive('nickname')) {
                // Nickname in URL, so load the id