Browse Source

php标签问题修复

tags/6.2.0
tianya 2 months ago
parent
commit
f1fd7015c9
2 changed files with 1 additions and 7 deletions
  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 View File

@@ -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 View File

@@ -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();
}


Loading…
Cancel
Save