浏览代码

php标签问题修复

tags/6.2.0
tianya 1年前
父节点
当前提交
f1fd7015c9
共有 2 个文件被更改,包括 1 次插入7 次删除
  1. +1
    -0
      src/system/archive/listview.class.php
  2. +0
    -7
      src/system/helpers/channelunit.helper.php

+ 1
- 0
src/system/archive/listview.class.php 查看文件

@@ -130,6 +130,7 @@ class ListView
{
global $cfg_list_son,$cfg_need_typeid2,$cfg_cross_sectypeid;
if (empty($cfg_need_typeid2)) $cfg_need_typeid2 = 'N';
$filtersql = '';
//获得附加表的相关信息,联动单筛选
$addtable = $this->ChannelUnit->ChannelInfos['addtable'];
if ($addtable!="") {


+ 0
- 7
src/system/helpers/channelunit.helper.php 查看文件

@@ -429,9 +429,6 @@ function FillAttsDefault(&$atts, $attlist)
*/
function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y')
{
global $cfg_disable_tags;
$cfg_disable_tags = isset($cfg_disable_tags) ? $cfg_disable_tags : 'php';
$disable_tags = explode(',', $cfg_disable_tags);
$alltags = array();
$dtp->setRefObj($refObj);
//读取自由调用tag列表
@@ -469,10 +466,6 @@ function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y')
$tagname = 'flink';
}
if (in_array($tagname, $alltags)) {
if (in_array($tagname, $disable_tags)) {
if (DEBUG_LEVEL) echo 'DedeBIZ Error:Tag disabled:"'.$tagname.'" <a href="https://www.dedebiz.com/help/" target="_blank">more</a>!';
continue;
}
if (DEBUG_LEVEL == TRUE) {
$ttt1 = ExecTime();
}


正在加载...
取消
保存