diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index d392b40f..e27a773d 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -197,9 +197,7 @@ class Archives unset($row); //处理要分页显示的字段 $this->SplitTitles = array(); - if ($this->SplitPageField != '' && $GLOBALS['cfg_arcsptitle'] = 'Y' - && isset($this->Fields[$this->SplitPageField]) - ) { + if ($this->SplitPageField != '' && $GLOBALS['cfg_arcsptitle'] = 'Y' && isset($this->Fields[$this->SplitPageField])) { $this->SplitFields = explode("#p#", $this->Fields[$this->SplitPageField]); $i = 1; foreach ($this->SplitFields as $k => $v) { @@ -357,7 +355,7 @@ class Archives $this->dtp->SaveTo($TRUEfilename); } } - $this->dsql->ExecuteNoneQuery("Update `#@__archives` SET ismake=1 WHERE id='".$this->ArcID."'"); + $this->dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET ismake=1 WHERE id='".$this->ArcID."'"); return $this->GetTrueUrl($filename); } /** @@ -483,7 +481,7 @@ class Archives if ($GLOBALS['cfg_jump_once'] == 'N') { $pageHtml = "\r\n
\r\n\r\n