|
From: James A. <th...@us...> - 2001-11-12 12:02:28
|
Update of /cvsroot/phpbb/phpBB2 In directory usw-pr-cvs1:/tmp/cvs-serv17946 Modified Files: posting.php Log Message: Tsk, tsk, tsk, someone forgot to use the constant for the posts table Index: posting.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/posting.php,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -r1.91 -r1.92 *** posting.php 2001/11/09 13:26:55 1.91 --- posting.php 2001/11/12 12:02:26 1.92 *************** *** 142,146 **** $sql = "SELECT COUNT(post_id) AS total_posts ! FROM phpbb_posts"; $result = $db->sql_query($sql); if( !$result ) --- 142,147 ---- $sql = "SELECT COUNT(post_id) AS total_posts ! FROM " . POSTS_TABLE; ! $result = $db->sql_query($sql); if( !$result ) |