1
0
Fork 0

use notice function

This commit is contained in:
Mike Macgirvin 2010-07-03 01:45:23 -07:00
parent fa3073a5cf
commit 25567fa04b

View file

@ -12,7 +12,7 @@ function item_post(&$a) {
$parent = ((x($_POST,'parent')) ? intval($_POST['parent']) : 0); $parent = ((x($_POST,'parent')) ? intval($_POST['parent']) : 0);
$profile_uid = ((x($_POST,'profile_uid')) ? intval($_POST['profile_uid']) : 0); $profile_uid = ((x($_POST,'profile_uid')) ? intval($_POST['profile_uid']) : 0);
if(! can_write_wall($a,$profile_uid)) { if(! can_write_wall($a,$profile_uid)) {
$_SESSION['sysmsg'] .= "Permission denied." . EOL; notice("Permission denied." . EOL) ;
return; return;
} }