//
if ($this->getID()) {
$addstr=" AND project_task_id <> '". $this->getID() ."' ";
+ } else {
+ $addstr='';
}
$sql="SELECT project_task_id,summary
FROM project_task
*/
function &getDependentOn() {
if (!$this->getID()) {
- return array();
+ $this->dependon = array();
+ return $this->dependon;
}
if (!$this->dependon) {
$res=db_query("SELECT is_dependent_on_task_id,link_type
*/
function &getAssignedTo() {
if (!$this->getID()) {
- return array();
+ $this->assignedto = array();
+ return $this->assignedto;
}
if (!$this->assignedto) {
$this->assignedto =& util_result_column_to_array(db_query("SELECT assigned_to_id