From: Eloi G. <ada...@us...> - 2004-10-08 13:11:04
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26782/class Modified Files: Message.php Log Message: Fixed Bug Report [1042728] "1.0.0 CVS: Editing a post increments number of posts" Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** Message.php 3 Oct 2004 03:13:40 -0000 1.68 --- Message.php 8 Oct 2004 13:10:53 -0000 1.69 *************** *** 448,452 **** // Update user statistics ! $GLOBALS['core']->query('UPDATE mod_phpwsbb_user_info SET posts=posts+1 WHERE user_id='.$_SESSION['OBJ_user']->user_id, true); // Update thread object with new statistics --- 448,453 ---- // Update user statistics ! if($new) ! $GLOBALS['core']->query('UPDATE mod_phpwsbb_user_info SET posts=posts+1 WHERE user_id='.$_SESSION['OBJ_user']->user_id, true); // Update thread object with new statistics |