diff --git a/include/constants.php b/include/constants.php
index ae443d6e..4f96d1f0 100644
--- a/include/constants.php
+++ b/include/constants.php
@@ -1,6 +1,6 @@
".$lang_functions['text_anonymous']."
".(isset($row["owner"]) ? "(" . get_username($row["owner"]) .")" : "".$lang_functions['text_orphaned']."") . "\n");
}
diff --git a/public/details.php b/public/details.php
index 33bbeb9f..b6a440bd 100644
--- a/public/details.php
+++ b/public/details.php
@@ -101,7 +101,7 @@ if (!$row) {
// ------------- start upped by block ------------------//
if($row['anonymous'] == 'yes') {
- if (!user_can('viewanonymous'))
+ if (!user_can('viewanonymous') && $row['owner'] != $CURUSER['id'])
$uprow = "".$lang_details['text_anonymous']."";
else
$uprow = "".$lang_details['text_anonymous']." (" . get_username($row['owner'], false, true, true, false, false, true) . ")";