X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=show_bonus.php;h=cc1ad2af634a1e3c2977d1e0bd5ed8a0aba3e386;hp=a6eb714ec53faae9e9585d5e49d6cb8d74ca0f49;hb=30ae22f62ae87c53a56baf0d134569ba91011111;hpb=c72268213d4d4829d845d39c101bb08fbe4ed79a diff --git a/show_bonus.php b/show_bonus.php index a6eb714ec5..cc1ad2af63 100644 --- a/show_bonus.php +++ b/show_bonus.php @@ -59,7 +59,7 @@ redirectOnUninstalledExtension('bonus'); // Include header loadIncludeOnce('inc/header.php'); -if ((getRequestParameter('userid') > 0) && (getRequestParameter('d') > 0) && (isGetRequestParameterSet('t'))) { +if ((isValidUserId(getRequestParameter('userid'))) && (getRequestParameter('d') > 0) && (isGetRequestParameterSet('t'))) { // Set row name $t = ''; switch (getRequestParameter('t')) {