- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -92,18+92,18 @@ if ((isValidId($data['userid'])) && (isValidId($data['id'])) && (!empty($data['t
$GLOBALS['frameset_mode'] = TRUE;
} // END - if
$GLOBALS['frameset_mode'] = TRUE;
} // END - if
- // Init result for below SQL_NUMROWS() function
+ // Init result for below sqlNumRows() function
$result_main = FALSE;
// Maybe he wants to confirm an email?
switch ($data['type']) {
case 'normal':
$result_main = FALSE;
// Maybe he wants to confirm an email?
switch ($data['type']) {
case 'normal':
- $result_main = SQL_QUERY_ESC("SELECT `id` AS `link_id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `stats_id`=%s AND `userid`=%s LIMIT 1",
+ $result_main = sqlQueryEscaped("SELECT `id` AS `link_id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `stats_id`=%s AND `userid`=%s LIMIT 1",
- $result_main = SQL_QUERY_ESC("SELECT `id` AS `link_id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `bonus_id`=%s AND `userid`=%s LIMIT 1",
+ $result_main = sqlQueryEscaped("SELECT `id` AS `link_id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `bonus_id`=%s AND `userid`=%s LIMIT 1",