aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-03 01:45:23 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-03 01:45:23 -0700
commit25567fa04b8c62ff94c2491b796bab49d00ea9a9 (patch)
treeceb787b1d9908a9f7b021ddea6896723e2bc080f
parentfa3073a5cf8572827d5a16b60f435e25524098ae (diff)
downloadvolse-hubzilla-25567fa04b8c62ff94c2491b796bab49d00ea9a9.tar.gz
volse-hubzilla-25567fa04b8c62ff94c2491b796bab49d00ea9a9.tar.bz2
volse-hubzilla-25567fa04b8c62ff94c2491b796bab49d00ea9a9.zip
use notice function
-rw-r--r--mod/item.php2
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;
}