aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-08-22 11:01:56 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-08-22 11:01:56 +0000
commitb0afc8e6320598734ae20e664be9f840ca501f91 (patch)
tree3d389420e36749440e292f704e8d9e18a3dd246d /phpBB/includes/functions_user.php
parent556bbfe856e5a36f38a26c3ae8357eeba0d3b228 (diff)
downloadforums-b0afc8e6320598734ae20e664be9f840ca501f91.tar
forums-b0afc8e6320598734ae20e664be9f840ca501f91.tar.gz
forums-b0afc8e6320598734ae20e664be9f840ca501f91.tar.bz2
forums-b0afc8e6320598734ae20e664be9f840ca501f91.tar.xz
forums-b0afc8e6320598734ae20e664be9f840ca501f91.zip
Phase 2 of the changes
This should now be complete git-svn-id: file:///svn/phpbb/trunk@6311 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index c03e92d0b0..870c20f665 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -262,7 +262,7 @@ function user_delete($mode, $user_id, $post_username = false)
{
case 'retain':
$sql = 'UPDATE ' . FORUMS_TABLE . '
- SET forum_last_poster_id = ' . ANONYMOUS . (($post_username !== false) ? ", forum_last_poster_name = '" . $db->sql_escape($post_username) . "'" : '') . "
+ SET forum_last_poster_id = ' . ANONYMOUS . (($post_username !== false) ? ", forum_last_poster_name = '" . $db->sql_escape($post_username) . "'" : '') . ", forum_last_poster_colour = ''
WHERE forum_last_poster_id = $user_id";
$db->sql_query($sql);