fixing warning
This commit is contained in:
parent
3d23a3434d
commit
c4211ddc2f
@ -200,7 +200,9 @@
|
|||||||
);
|
);
|
||||||
$arr =& $smarty->get_template_vars('draft_list');
|
$arr =& $smarty->get_template_vars('draft_list');
|
||||||
|
|
||||||
list($id, $subject)=each($arr);
|
$id = $subject = null;
|
||||||
|
if ($arr)
|
||||||
|
list($id, $subject)=each($arr);
|
||||||
|
|
||||||
if ($id){
|
if ($id){
|
||||||
$smarty->assign('subject', $subject);
|
$smarty->assign('subject', $subject);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user