Param 'cost' overwrites 'title'.

case 'cost':
  if (is_numeric($value)) {
    $insert->title= $value; // HERE
  }
  else {
    $return['errors'] = TRUE;
    $return[$key] = t('Wrong data type');
  }
break;
CommentFileSizeAuthor
insert_cost.patch468 byteszhilchenko

Comments

FeBus982’s picture

Assigned: Unassigned » FeBus982
Status: Active » Closed (fixed)

Fixed in dev version.