* [bug#55190] Return empty in tutorial.

This commit is contained in:
xieqiyu
2024-09-14 14:51:51 +08:00
committed by 胡方舟
parent d8c41762fa
commit af422b53b7
+2
View File
@@ -2142,6 +2142,8 @@ eof;
*/
public function getRelations(string $AType = '', int $AID = 0, string $BType = '', int $BID = 0): array
{
if(common::isTutorialMode()) return array();
return $this->dao->select('*')->from(TABLE_RELATION)
->where('AType')->eq($AType)
->andWhere('AID')->eq($AID)