From: Roland Häder Date: Sat, 2 Feb 2008 13:09:08 +0000 (+0000) Subject: fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3eeb5f108fc3c9256a957f73b85c6018ef4f00d6;p=mailer.git fixes --- diff --git a/0.2.1/inc/functions.php b/0.2.1/inc/functions.php index 0afc09f1c1..d675eca81b 100644 --- a/0.2.1/inc/functions.php +++ b/0.2.1/inc/functions.php @@ -2012,6 +2012,9 @@ function ADD_URL_DATA($URL) $ADD .= $BIND."refid=".$CONFIG['def_refid']; } + // Is there already added data? Then change the binder + if (!empty($ADD)) $BIND = "&"; + // Add session ID if ((!empty($_GET['PHPSESSID'])) && (strpos($URL, "PHPSESSID=") == 0)) { // Add session from URL diff --git a/0.2.1/view.php b/0.2.1/view.php index f454e64d4d..2f688f67c3 100644 --- a/0.2.1/view.php +++ b/0.2.1/view.php @@ -58,7 +58,7 @@ if (((!empty($_GET['user'])) || (!empty($_GET['reseller']))) && (!empty($_GET['b $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_refbanner SET counter=counter+1 WHERE id=%d LIMIT 1", array(bigintval($_GET['banner'])), __FILE__, __LINE__); $type = substr($url, -3); - header ("Content-Type: image/".$type); + @header ("Content-Type: image/".$type); LOAD_URL($url, false); } else { // Free memory