aboutsummaryrefslogtreecommitdiffstats
path: root/mod/viewsrc.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/viewsrc.php')
-rwxr-xr-xmod/viewsrc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/viewsrc.php b/mod/viewsrc.php
index 8900e44db..94847ec7b 100755
--- a/mod/viewsrc.php
+++ b/mod/viewsrc.php
@@ -18,6 +18,7 @@ function viewsrc_content(&$a) {
$r = q("SELECT `item`.`body` FROM `item`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0
+ and `item`.`moderated` = 0
AND `item`.`id` = '%s' LIMIT 1",
intval(local_user()),
dbesc($item_id)