Closed (fixed)
Project:
User Points
Version:
6.x-1.x-dev
Component:
Other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
29 Oct 2009 at 16:27 UTC
Updated:
19 Aug 2015 at 15:54 UTC
Simple error. You named the variable wrong.
<?php
function userpoints_service_points {
$params = array (
'uid' => $uid,
'points' => $points,
'tid' => $tid,
'event' => $event,
'description' => $desc,
'display' => FALSE,
'moderate' => FALSE,
);
?>
$desc should be $description
Comments
Comment #1
kbahey commentedThanks for reporting it.
Fixed.