|
From: Jon O. <jon...@us...> - 2005-09-22 21:26:14
|
Update of /cvsroot/mxbb/mx_profilecp/profilcp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5288/modules/mx_profilecp/profilcp Modified Files: profilcp_profil_avatar.php profilcp_register.php Log Message: update Index: profilcp_register.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_register.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** profilcp_register.php 9 Jan 2005 21:45:33 -0000 1.4 --- profilcp_register.php 22 Sep 2005 21:26:05 -0000 1.5 *************** *** 212,216 **** // break if error ! if ( $error ) message_die(GENERAL_ERROR, $error_msg); --- 212,216 ---- // break if error ! if ( $error ) mx_message_die(GENERAL_ERROR, $error_msg); Index: profilcp_profil_avatar.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_profil_avatar.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** profilcp_profil_avatar.php 29 Jun 2004 22:27:47 -0000 1.3 --- profilcp_profil_avatar.php 22 Sep 2005 21:26:05 -0000 1.4 *************** *** 95,104 **** } ! if ($error) message_die(GENERAL_ERROR, $error_msg); if ($avatar_sql != '') { $sql = "UPDATE " . USERS_TABLE . " SET $avatar_sql WHERE user_id=$view_user_id"; ! if ( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } --- 95,104 ---- } ! if ($error) mx_message_die(GENERAL_ERROR, $error_msg); if ($avatar_sql != '') { $sql = "UPDATE " . USERS_TABLE . " SET $avatar_sql WHERE user_id=$view_user_id"; ! if ( !($result = $db->sql_query($sql)) ) mx_message_die(GENERAL_ERROR, 'Could not update user table', '', __LINE__, __FILE__, $sql); } |