diff options
author | 2018-01-30 11:33:25 -0500 | |
---|---|---|
committer | 2018-01-30 11:33:25 -0500 | |
commit | 7502757bdae610d26b53d14c01aec68b17e9fbc3 (patch) | |
tree | feb804485e92e1d5db6bc9bc93fd0e5b72ae402e /php/lib/list.php | |
parent | Update footer copyright (diff) | |
download | bouncer-7502757bdae610d26b53d14c01aec68b17e9fbc3.tar.gz bouncer-7502757bdae610d26b53d14c01aec68b17e9fbc3.tar.bz2 bouncer-7502757bdae610d26b53d14c01aec68b17e9fbc3.zip |
Silence Notices with defaults and reference removals
Diffstat (limited to 'php/lib/list.php')
-rw-r--r-- | php/lib/list.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php/lib/list.php b/php/lib/list.php index 9f480bc..8424ae3 100644 --- a/php/lib/list.php +++ b/php/lib/list.php @@ -109,6 +109,7 @@ */ function show_list($list,$headers,$type='checkbox',$actions=null,$form_id=null,$sortable=true,$selected=null) { + $count = 0; if ( is_array($list) && count($list)>0 && is_array($headers) ) { if ( $type!='simple' && !empty($_GET['sort']) && !empty($_GET['order']) ) @@ -215,7 +216,7 @@ function show_headers($headers,$type,$sortable=true) if ($type!='simple'&&$count==0) { echo "\n".'<th> </th>'; - next; + continue; } elseif($sortable) { |