Thanks
I will give it a crack
Cheers
W
Thanks
I will give it a crack
Cheers
W
Im solve this problem in file
Modules/Project/Project.php after fetch records
$project_task = new ProjectTask();
/**
* If the field template is the same Project Task then
* Assign value
*/
$taskCustomFields = $db->query( "SELECT * FROM am_tasktemplates_cstm WHERE id_c='".$row['id']."' " );
$rowCustomFields = $db->fetchByAssoc($taskCustomFields);
//get custom Fields
if($rowCustomFields)
{
//ignore id
unset($rowCustomFields['id_c']);
//exist field
$availableFields = array_keys( $project_task->field_defs ) ;
foreach ($rowCustomFields as $field => $value) {
if( in_array($field, $availableFields ) ){
$project_task->{$field} = $value;
}
}
}
@gstjonathan if this solves a bug (or incomplete functionality), please propose the change on GitHub. Or at least open an issue describing the steps to reproduce the bug, and then paste your code.