X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fsponsor_functions.php;h=ee59586f50d798230b1e80d1961af8d6f1b4672d;hb=be3bcf24cbb7277998a5c149308c9fb644c13ef5;hp=7ef4e61a3067ac0bd876e60f9b99c13aa073d390;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c;p=mailer.git
diff --git a/inc/libs/sponsor_functions.php b/inc/libs/sponsor_functions.php
index 7ef4e61a30..ee59586f50 100644
--- a/inc/libs/sponsor_functions.php
+++ b/inc/libs/sponsor_functions.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 *
@@ -137,7 +138,7 @@ function handlSponsorRequest (&$postData, $update=false, $messageArray=array(),
// Remove last ", " from SQL string
$sql = substr($sql, 0, -2)." WHERE `id`='%s' LIMIT 1";
- $DATA['values'][] = bigintval(getRequestElement('id'));
+ $DATA['values'][] = bigintval(getRequestParameter('id'));
// Generate message
$message = getMessageFromIndexedArray(getMessage('ADMIN_SPONSOR_UPDATED'), 'updated', $messageArray);
@@ -294,7 +295,7 @@ ORDER BY `sort`",
$content = merge_array($content, $content2);
// Check if current selected menu is matching the loaded one
- if ($current == $content['sub_what']) $content['sub_title'] = "".$content['sub_title']."";
+ if ($current == $content['sub_what']) $content['sub_title'] = '' . $content['sub_title'] . '';
// Prepare data for the sub template
$content = array(