From 1f922bb128eb6ea9758b7a4cd478b18df0bf0787 Mon Sep 17 00:00:00 2001 From: tianya Date: Thu, 20 Aug 2020 17:23:28 +0800 Subject: [PATCH] =?UTF-8?q?PHP7.X=E4=B8=8B=E4=B8=93=E9=A2=98=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=A4=9A=E4=B8=AA=E5=86=85=E5=AE=B9=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/dede/inc/inc_menu.php | 3 ++- src/dede/spec_add.php | 2 +- src/dede/spec_edit.php | 2 +- src/dede/templets/index2.htm | 2 +- src/include/dedetemplate.class.php | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index dd7ada3..e2ad3f1 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ src/uploads/userup src/uploads/20* src/data/mysqli_error_trace.inc src/uploads/litimg/* +src/special/ diff --git a/src/dede/inc/inc_menu.php b/src/dede/inc/inc_menu.php index faa511b..4eff8e7 100755 --- a/src/dede/inc/inc_menu.php +++ b/src/dede/inc/inc_menu.php @@ -165,8 +165,9 @@ $adminMenu2 - + + ----------------------------------------------- diff --git a/src/dede/spec_add.php b/src/dede/spec_add.php index 95ef755..4ed7d03 100755 --- a/src/dede/spec_add.php +++ b/src/dede/spec_add.php @@ -113,7 +113,7 @@ else if($dopost=='save') } //专题节点列表 - $arcids = ''; + $arcids = array(); $notelist = ''; for($i=1; $i<=$cfg_specnote; $i++) { diff --git a/src/dede/spec_edit.php b/src/dede/spec_edit.php index 287a3db..89a581f 100755 --- a/src/dede/spec_edit.php +++ b/src/dede/spec_edit.php @@ -169,7 +169,7 @@ else if($dopost=='save') } //专题节点列表 - $arcids = ''; + $arcids = array(); $notelist = ''; for($i=1;$i<=$cfg_specnote;$i++) { diff --git a/src/dede/templets/index2.htm b/src/dede/templets/index2.htm index 640b365..b21e74d 100755 --- a/src/dede/templets/index2.htm +++ b/src/dede/templets/index2.htm @@ -118,7 +118,7 @@
- 官方论坛 在线帮助 + 官方论坛 Github
diff --git a/src/include/dedetemplate.class.php b/src/include/dedetemplate.class.php index c0ae37e..58870da 100755 --- a/src/include/dedetemplate.class.php +++ b/src/include/dedetemplate.class.php @@ -635,7 +635,7 @@ class DedeTemplate $t = 0; $preTag = ''; $tswLen = strlen($tagStartWord); - $cAtt->cAttributes->items = array(); + @$cAtt->cAttributes->items = array(); for($i=0; $i<$sourceLen; $i++) { $ttagName = '';