Well, in both mine and I think also in your mod there is a small bug []/w3timages/icons/wink.gif[/] because I was "so lucky" to catch it when one moderator hit the next mark, it displayed the new title, but kept the old on record, thus I suggest the last part to include the "else" statement:
if ( ($NewTitle ne $CurrTitle) && ($user{'Status'} ne "Administrator") && ($user{'Status'} ne "Moderator") ){
$query = qq!
UPDATE w3t_Users
SET U_Title = $UserTitle_q
WHERE U_Username = $Username_q
!;
$dbh -> do($query) or die "Can't do $query. Reason: $DBI::errstr.";
}
else {
$UserTitle_q = $dbh -> quote($CurrTitle);
}
}
I hope I got that right []/w3timages/icons/wink.gif[/]. Thanks for the help on this []/w3timages/icons/smile.gif[/]!