pasha
09-03-06, 12:29 PM
Hi all,
You will only get an error when editing a task on a server running php 5+, the error will be something along the lines of:
Fatal error: Only variables can be passed by reference in /dotnet/modules/tasks/ae_desc.php on line 39
Here's a quick change to fix that, and your taks will work well again.
take this line (39) in ae_desc.php [/modules/tasks/]
<?php echo arraySelect(dPgetSysVal("TaskType"), "task_type", "class='text'", $obj->task_type, false); ?>
and change to this:
<?php
$dPgetSysVal_php5 = dPgetSysVal("TaskType");
echo arraySelect($dPgetSysVal_php5, "task_type", "class='text'", $obj->task_type, false);
?>
Hope that helps someone out there,
Paul
You will only get an error when editing a task on a server running php 5+, the error will be something along the lines of:
Fatal error: Only variables can be passed by reference in /dotnet/modules/tasks/ae_desc.php on line 39
Here's a quick change to fix that, and your taks will work well again.
take this line (39) in ae_desc.php [/modules/tasks/]
<?php echo arraySelect(dPgetSysVal("TaskType"), "task_type", "class='text'", $obj->task_type, false); ?>
and change to this:
<?php
$dPgetSysVal_php5 = dPgetSysVal("TaskType");
echo arraySelect($dPgetSysVal_php5, "task_type", "class='text'", $obj->task_type, false);
?>
Hope that helps someone out there,
Paul