X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-points.php;h=08e9b396cc1419376a436016ba3428d7e5e6c158;hp=fb050d655264151b139430836a6f13fe563bc4f7;hb=6a0c39a390c28999679d84a7ae5264363b0054dc;hpb=18307767587d0bbb96c9e545790e590ebf3ea396 diff --git a/inc/modules/member/what-points.php b/inc/modules/member/what-points.php index fb050d6552..08e9b396cc 100644 --- a/inc/modules/member/what-points.php +++ b/inc/modules/member/what-points.php @@ -126,12 +126,12 @@ LIMIT 1", // Free memory SQL_FREERESULT($result_depths); +// Add userid +$content['userid'] = getMemberId(); + // Put rows to constant for the main template $content['rows'] = $OUT; -// Remember several values in constants -$content['total_points'] = $content['part_points'] - getUserData('used_points') + $content['part_order']; - // Fixes a bug when there is no bonus extension installed if (isExtensionInstalledAndOlder('bonus', '0.4.4')) { setConfigEntry('bonus_active', 'X');