* Fix an error for xuanxuan.
This commit is contained in:
@@ -25,7 +25,7 @@ class xuanxuanMessage extends messageModel
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$field = 'task.*';
|
$field = 'obj.*';
|
||||||
}
|
}
|
||||||
$object = $this->dao->select($field)->from($this->config->objectTables[$objectType])->alias('obj')
|
$object = $this->dao->select($field)->from($this->config->objectTables[$objectType])->alias('obj')
|
||||||
->beginIF($objectType == 'task')
|
->beginIF($objectType == 'task')
|
||||||
@@ -89,6 +89,10 @@ class xuanxuanMessage extends messageModel
|
|||||||
$subcontent->parentURL = "xxc:openInApp/zentao-integrated/" . urlencode($server . helper::createLink($parentType, 'browse', "id=$subcontent->parent", 'html'));
|
$subcontent->parentURL = "xxc:openInApp/zentao-integrated/" . urlencode($server . helper::createLink($parentType, 'browse', "id=$subcontent->parent", 'html'));
|
||||||
$subcontent->cardURL = $url;
|
$subcontent->cardURL = $url;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$subcontent->parentType = $objectType;
|
||||||
|
}
|
||||||
|
|
||||||
$contentData = new stdclass();
|
$contentData = new stdclass();
|
||||||
$contentData->title = $title;
|
$contentData->title = $title;
|
||||||
|
|||||||
Reference in New Issue
Block a user