implement "moderate" flag on items
This commit is contained in:
parent
1f074cb44c
commit
a76a497d92
17 changed files with 41 additions and 36 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue