X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=d413b747fae9978b910d60a1fa57833011fff7f6;hb=7c890c286012a1f125e76ca8603df6bea0b0cc80;hp=588dd9a9d3f48a3f2a579d43a56ab42f3c714960;hpb=6348e70daa113e8b3203de8fbc919d08c90d972e;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 588dd9a9d3..d413b747fa 100644 --- a/mod/item.php +++ b/mod/item.php @@ -12,7 +12,7 @@ function item_post(&$a) { $parent = ((x($_POST,'parent')) ? intval($_POST['parent']) : 0); $profile_uid = ((x($_POST,'profile_uid')) ? intval($_POST['profile_uid']) : 0); if(! can_write_wall($a,$profile_uid)) { - $_SESSION['sysmsg'] .= "Permission denied." . EOL; + notice("Permission denied." . EOL) ; return; }