mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Fixes for MYSQL_ASSOC change in db_Fetch
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/userposts.php,v $
|
||||
| $Revision: 1.8 $
|
||||
| $Date: 2008-12-10 21:00:48 $
|
||||
| $Revision: 1.9 $
|
||||
| $Date: 2009-01-22 01:58:29 $
|
||||
| $Author: mcfly_e107 $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -81,8 +81,8 @@ if ($action == "comments")
|
||||
{
|
||||
$ccaption = UP_LAN_1.$user_name;
|
||||
$sql->db_Select("user", "user_comments", "user_id=".$id);
|
||||
list($user_comments) = $sql->db_Fetch();
|
||||
$ctotal = $user_comments;
|
||||
$row = $sql->db_Fetch();
|
||||
$ctotal = $row['user_comments'];
|
||||
$data = $cobj->getCommentData($amount='10', $from, "comment_author = '".$user_id."'");
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user