]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Merge pull request #4168 from annando/comment-dfrn
[friendica.git] / mod / item.php
index 450aac5f2e132602188ad250a662e13a7cdb2225..16c3ce442a6851b2d9005b8a18130f8276fd2986 100644 (file)
@@ -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);