X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=show_bonus.php;h=cc1ad2af634a1e3c2977d1e0bd5ed8a0aba3e386;hb=5736dfb1b51bff78b3594a166f350e76784fa0ff;hp=a6eb714ec53faae9e9585d5e49d6cb8d74ca0f49;hpb=c3a69502dc0ac76dd3c3100e6585fe38d1f71104;p=mailer.git 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')) {