Fixed sprintf: Too few arguments
authorRoland Häder <roland@mxchange.org>
Sun, 27 Jun 2010 20:11:16 +0000 (20:11 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 27 Jun 2010 20:11:16 +0000 (20:11 +0000)
inc/modules/admin/what-list_refs.php
templates/de/html/admin/admin_list_refs2.tpl

index 852f6870505e038c0c5f27cb8f5dfab805652e3f..4451dc648048fbd725e48d087c48d2f8944aa499 100644 (file)
@@ -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;
index 66a261c038080c39fc2c37cf5e96d10aa81f4af4..d4d605e294c8ee0aa936fc10d8c12b29a8f9cc73 100644 (file)
@@ -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>