X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=e0497af7a54e79e240915d6fa1365252d04e706a;hb=89c15cc092048af2180452cbba24df273620aaba;hp=4de9dc59f8e2df9b552a9309ad04c429cabd80e5;hpb=bbe53699f26bfa4e4d17da097fd8f2fc14da47dd;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 4de9dc59f8..e0497af7a5 100644 --- a/mod/item.php +++ b/mod/item.php @@ -5,7 +5,7 @@ function sanitise_acl(&$item) { } function item_post(&$a) { -dbg(3); + if((! local_user()) && (! remote_user())) return; @@ -170,6 +170,6 @@ dbg(3); array(),$foo)); } -// goaway($a->get_baseurl() . "/" . $_POST['return'] ); + goaway($a->get_baseurl() . "/" . $_POST['return'] ); return; // NOTREACHED } \ No newline at end of file