diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-03 01:45:23 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-03 01:45:23 -0700 |
commit | 25567fa04b8c62ff94c2491b796bab49d00ea9a9 (patch) | |
tree | ceb787b1d9908a9f7b021ddea6896723e2bc080f | |
parent | fa3073a5cf8572827d5a16b60f435e25524098ae (diff) | |
download | volse-hubzilla-25567fa04b8c62ff94c2491b796bab49d00ea9a9.tar.gz volse-hubzilla-25567fa04b8c62ff94c2491b796bab49d00ea9a9.tar.bz2 volse-hubzilla-25567fa04b8c62ff94c2491b796bab49d00ea9a9.zip |
use notice function
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index 588dd9a9d..d413b747f 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; } |