Rewrote some code, added templates/functions:
[mailer.git] / inc / modules / admin / what-list_bonus.php
index a9c155c40c1770aefb44d31a0970558133d4a292..671c73589a881d32e01a40f7545a5cdcbeee7e2b 100644 (file)
@@ -129,7 +129,7 @@ ORDER BY
                        $content['withdraw_form'] = loadTemplate('admin_list_bonus_form', TRUE);
                } else {
                        // Display message "no manual withdraw possible"
-                       $content['withdraw_form'] = displayErrorMessage('{--ADMIN_BONUS_ALREADY_WITHDRAW--}', TRUE);
+                       $content['withdraw_form'] = returnErrorMessage('{--ADMIN_BONUS_ALREADY_WITHDRAW--}');
                }
 
                // Prepare constant for timemark