将
$query = “Select arc.*,tp.reid,tp.typedir,ch.addtablefrom `dede_archives` arc
left join dede_arctype tp on tp.id=arc.typeid
left join dede_channeltype as ch on arc.channel = ch.id
where arc.id=’$aid’ “;
$this->Fields = $this->dsql->GetOne($query);
替换为:
$query = “Select arc.*,tp.reid,tp.typedir,tp.typeimg,ch.addtablefrom `dede_archives` arc
left join dede_arctype tp on tp.id=arc.typeid
left join dede_channeltype as ch on arc.channel = ch.id
where arc.id=’$aid’ “;
$this->Fields = $this->dsql->GetOne($query);
生存文件即可。
原文地点: