修复变量haed未初始化的错误
This commit is contained in:
parent
e25ddb60d7
commit
b3b5478ccf
|
@ -39,6 +39,7 @@ $('#divFooter').css('position','absolute');
|
||||||
{
|
{
|
||||||
foreach($this->types as $v)
|
foreach($this->types as $v)
|
||||||
{
|
{
|
||||||
|
$haed="";
|
||||||
if(!empty($v[$this->deepField])) {$haed = str_repeat('-',$v[$this->deepField]);}
|
if(!empty($v[$this->deepField])) {$haed = str_repeat('-',$v[$this->deepField]);}
|
||||||
if($this->type == $v['id'])
|
if($this->type == $v['id'])
|
||||||
echo '<option value="/admin/news/newslist/type/'.$v['id'].'" selected="selected">'
|
echo '<option value="/admin/news/newslist/type/'.$v['id'].'" selected="selected">'
|
||||||
|
|
Loading…
Reference in New Issue