summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-12-04 11:25:34 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-12-04 11:25:34 +1100
commit03a946614f9dfa0c6df8acf138c9d484c426cb1d (patch)
tree693bb65beafac24b124b742bf1dc16e59bf68c12
parent68acbb8821c60a7dc37c9922658cbdbe36377c27 (diff)
staff usernames on PM notes to link to PM composition, not edit user.
-rw-r--r--mod.php5
1 files changed, 1 insertions, 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 = '<a href="?/users/' . $note['mod'] . '">' . utf8tohtml($_mod['username']) . '</a>';
- else
- $staff = utf8tohtml($_mod['username']);
+ $staff = '<a href="?/new_PM/' . $note['mod'] . '">' . utf8tohtml($_mod['username']) . '</a>';
} else {
$staff = '<em>???</em>';
}