]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-welcome.php
Table user_book renamed to user_booking, isExtensionOlder() should not be used, inste...
[mailer.git] / inc / modules / member / what-welcome.php
index 65f6bbebc779615c93c0292a13a55dc21beaaa04..637bd6400fdfd96104bb0840be2fda1425218298 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-addMenuDescription('member', basename(__FILE__));
+addYouAreHereLink('member', basename(__FILE__));
 
 // Export data for template
 $content = array(
@@ -55,7 +55,7 @@ $content = array(
 loadTemplate('member_welcome_header', false, $content);
 
 // Chedk if he is returning from a profile update notification
-$result = SQL_QUERY_ESC("SELECT userid FROM `{?_MYSQL_PREFIX?}_user_data` WHERE notified='Y' AND `userid`=%s LIMIT 1",
+$result = SQL_QUERY_ESC("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `notified`='Y' AND `userid`=%s LIMIT 1",
        array(getMemberId()), __FILE__, __LINE__);
 
 if ((SQL_NUMROWS($result) == 1) && (isExtensionActive('profile'))) {