"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/inc/functions.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

functions.php  (mybb_1822):functions.php  (mybb_1823)
skipping to change at line 729 skipping to change at line 729
$forum_list = array(); $forum_list = array();
$delete_thread_list = array(); $delete_thread_list = array();
if(!$db->num_rows($query)) if(!$db->num_rows($query))
{ {
return false; return false;
} }
else else
{ {
while($post = $db->fetch_array($query)) while($post = $db->fetch_array($query))
{ {
if($post['usepostcounts'] != 0 && $post['visible' ] != 0) if($post['usepostcounts'] != 0 && $post['visible' ] == 1)
{ {
++$post_count; ++$post_count;
} }
if($post['pid'] == $post['firstpost']) if($post['pid'] == $post['firstpost'])
{ {
$delete_thread_list[] = $post['thread']; $delete_thread_list[] = $post['thread'];
} }
if(!in_array($post['thread'], $thread_list) && !i n_array($post['thread'], $delete_thread_list)) if(!in_array($post['thread'], $thread_list) && !i n_array($post['thread'], $delete_thread_list))
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)