浏览代码

fixed ->_itemAttributes being cleared regardless of parameter setting

Angel S. Moreno 12 年之前
父节点
当前提交
5ed4d13afb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      View/Helper/TreeHelper.php

+ 0 - 1
View/Helper/TreeHelper.php

@@ -471,7 +471,6 @@ class TreeHelper extends AppHelper {
 			}
 			}
 		} else {
 		} else {
 			$attributes = $this->_itemAttributes;
 			$attributes = $this->_itemAttributes;
-			$this->_itemAttributes = array();
 			if ($clear) {
 			if ($clear) {
 				$this->_itemAttributes = array();
 				$this->_itemAttributes = array();
 			}
 			}