X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=feb0496a3600c1db6e152fda6f4cd86309ea44f9;hb=722782d553a2681ea70cdf9f6ea8d603b897e05e;hp=1faef960163c7845bad16b15a814d58a747dd667;hpb=a86ffd878dc3ca8638345781bda0f18071d439e5;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 1faef96016..feb0496a36 100644 --- a/mod/item.php +++ b/mod/item.php @@ -215,7 +215,7 @@ function item_post(App $a) { * Now check that it is a page_type of PAGE_BLOG, and that valid personal details * have been provided, and run any anti-spam plugins */ - if (!(can_write_wall($a, $profile_uid) || $allow_comment) && !$allow_moderated) { + if (!(can_write_wall($profile_uid) || $allow_comment) && !$allow_moderated) { notice(t('Permission denied.') . EOL) ; if (x($_REQUEST, 'return')) { goaway($return_path);