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

kbahey’s picture

Status: Active » Fixed

Thanks for reporting it.

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.