|
From: Jon O. <jon...@us...> - 2008-07-13 19:39:45
|
Update of /cvsroot/mxbb/mx_tinies In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5774 Modified Files: view_topics.php Log Message: related... Index: view_topics.php =================================================================== RCS file: /cvsroot/mxbb/mx_tinies/view_topics.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** view_topics.php 8 Feb 2008 23:45:05 -0000 1.3 --- view_topics.php 13 Jul 2008 19:39:43 -0000 1.4 *************** *** 164,168 **** $report_from . ' ORDER BY p2.post_time DESC'. ! " LIMIT $start, " . $board_config['topics_per_page']; if( !($result = $db->sql_query($sql)) ) { --- 164,168 ---- $report_from . ' ORDER BY p2.post_time DESC'. ! " LIMIT $start, " . (isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15); if( !($result = $db->sql_query($sql)) ) { *************** *** 450,454 **** $base_url = $module_root_path . basename(__FILE__) . '?report_id=' . $report_id; ! $per_page = $board_config['topics_per_page']; $template->assign_vars(array( --- 450,454 ---- $base_url = $module_root_path . basename(__FILE__) . '?report_id=' . $report_id; ! $per_page = isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15;; $template->assign_vars(array( |