From: Roland Häder <roland@mxchange.org>
Date: Sun, 27 Jun 2010 20:11:16 +0000 (+0000)
Subject: Fixed sprintf: Too few arguments
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=040261c7dd77a7e538b25bb9c5173e2bf441ab17;p=mailer.git

Fixed sprintf: Too few arguments
---

diff --git a/inc/modules/admin/what-list_refs.php b/inc/modules/admin/what-list_refs.php
index 852f687050..4451dc6480 100644
--- a/inc/modules/admin/what-list_refs.php
+++ b/inc/modules/admin/what-list_refs.php
@@ -94,7 +94,7 @@ ORDER BY
 						$menge_lck = countSumTotalData($userid, 'user_data', 'userid', 'refid', true, " AND `status` != 'CONFIRMED'");
 
 						// Output info message
-						$levels['info'] = getMaskedMessage('ADMIN_USER_TOTAL_REFS', generateUserProfileLink($userid), $menge, $menge_lck);
+						$levels['info'] = sprintf(getMessage('ADMIN_USER_TOTAL_REFS'), generateUserProfileLink($userid), $menge, $menge_lck);
 
 						// Init variables
 						$OUT_REFS = ''; $SW = 2;
diff --git a/templates/de/html/admin/admin_list_refs2.tpl b/templates/de/html/admin/admin_list_refs2.tpl
index 66a261c038..d4d605e294 100644
--- a/templates/de/html/admin/admin_list_refs2.tpl
+++ b/templates/de/html/admin/admin_list_refs2.tpl
@@ -1,3 +1,4 @@
+<div align="center">
 <table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
 <tr>
 	<td class="admin_title bottom">
@@ -11,3 +12,4 @@ $content[rows]
 	</td>
 </tr>
 </table>
+</div>