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 = '';