Userpoints Service Fails To Save Description

Steve McKenzie - October 29, 2009 - 16:27
Project:User Points
Version:6.x-1.x-dev
Component:Other
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

kbahey - October 30, 2009 - 02:38
Status:active» fixed

Thanks for reporting it.

Fixed.

#2

System Message - November 13, 2009 - 02:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.