Browse Source

错误提示修正

tags/6.2.6
tianya 1 year ago
parent
commit
a019d8baa7
5 changed files with 7 additions and 2 deletions
  1. +1
    -1
      src/system/archive/archives.class.php
  2. +1
    -0
      src/system/archive/freelist.class.php
  3. +2
    -0
      src/system/archive/listview.class.php
  4. +2
    -0
      src/system/archive/searchview.class.php
  5. +1
    -1
      src/system/dedetag.class.php

+ 1
- 1
src/system/archive/archives.class.php View File

@@ -318,7 +318,7 @@ class Archives
$filenames = explode("/", $filename); $filenames = explode("/", $filename);
$this->NameFirst = preg_replace("/\.".$this->ShortName."$/i", "", $filenames[count($filenames) - 1]); $this->NameFirst = preg_replace("/\.".$this->ShortName."$/i", "", $filenames[count($filenames) - 1]);
if ($this->NameFirst == '') { if ($this->NameFirst == '') {
$this->NameFirst = $this->arcID;
$this->NameFirst = $this->ArcID;
} }
//获得当前文档的全名 //获得当前文档的全名
$filenameFull = GetFileUrl( $filenameFull = GetFileUrl(


+ 1
- 0
src/system/archive/freelist.class.php View File

@@ -15,6 +15,7 @@ class FreeList
{ {
var $dsql; var $dsql;
var $dtp; var $dtp;
var $FreeID;
var $TypeID; var $TypeID;
var $TypeLink; var $TypeLink;
var $PageNo; var $PageNo;


+ 2
- 0
src/system/archive/listview.class.php View File

@@ -612,6 +612,7 @@ class ListView
} }
//获得附加表的相关信息 //获得附加表的相关信息
$addtable = $this->ChannelUnit->ChannelInfos['addtable']; $addtable = $this->ChannelUnit->ChannelInfos['addtable'];
$filtersql = "";
if ($addtable!="") if ($addtable!="")
{ {
$addJoin = " LEFT JOIN `$addtable` ON arc.id = ".$addtable.'.aid '; $addJoin = " LEFT JOIN `$addtable` ON arc.id = ".$addtable.'.aid ';
@@ -897,6 +898,7 @@ class ListView
$purl .= '?'.$geturl; $purl .= '?'.$geturl;
$optionlist = ''; $optionlist = '';
//添加联动单筛选 //添加联动单筛选
$pageaddurl = "";
foreach($_GET as $key => $value) { foreach($_GET as $key => $value) {
$pageaddurl .= ($key!="tid" && $key!="TotalResult" && $key!="PageNo") ? "&".string_filter($key)."=".string_filter($value) : ''; $pageaddurl .= ($key!="tid" && $key!="TotalResult" && $key!="PageNo") ? "&".string_filter($key)."=".string_filter($value) : '';
} }


+ 2
- 0
src/system/archive/searchview.class.php View File

@@ -27,7 +27,9 @@ class SearchView
var $TotalPage; var $TotalPage;
var $TotalResult; var $TotalResult;
var $pagesize; var $pagesize;
var $AddTable;
var $ChannelType; var $ChannelType;
var $ChannelTypeid;
var $TempInfos; var $TempInfos;
var $Fields; var $Fields;
var $PartView; var $PartView;


+ 1
- 1
src/system/dedetag.class.php View File

@@ -389,7 +389,7 @@ class DedeTagParse
* *
* @access public * @access public
* @param string $str 字符串 * @param string $str 字符串
* @return string
* @return mixed
*/ */
function GetTag($str) function GetTag($str)
{ {


Loading…
Cancel
Save