From b8a143756c80619349e656d1c3398738e105efc1 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 4 Dec 2011 11:25:34 +1100 Subject: [PATCH] staff usernames on PM notes to link to PM composition, not edit user. --- mod.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mod.php b/mod.php index f7504611..43f60048 100644 --- a/mod.php +++ b/mod.php @@ -2486,10 +2486,7 @@ $_query->bindValue(':id', $note['mod']); $_query->execute() or error(db_error($_query)); if($_mod = $_query->fetch()) { - if(hasPermission($config['mod']['editusers'])) - $staff = '' . utf8tohtml($_mod['username']) . ''; - else - $staff = utf8tohtml($_mod['username']); + $staff = '' . utf8tohtml($_mod['username']) . ''; } else { $staff = '???'; }