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;
| Comment | File | Size | Author |
|---|---|---|---|
| insert_cost.patch | 468 bytes | zhilchenko |
Comments
Comment #1
FeBus982 commentedFixed in dev version.