]> git.mxchange.org Git - friendica.git/commitdiff
use notice function
authorMike Macgirvin <mike@macgirvin.com>
Sat, 3 Jul 2010 08:45:23 +0000 (01:45 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sat, 3 Jul 2010 08:45:23 +0000 (01:45 -0700)
mod/item.php

index 588dd9a9d3f48a3f2a579d43a56ab42f3c714960..d413b747fae9978b910d60a1fa57833011fff7f6 100644 (file)
@@ -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;
        }