aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php
index 2ff26ff74..794cd2ce1 100644
--- a/include/security.php
+++ b/include/security.php
@@ -4,7 +4,7 @@ function can_write_wall(&$a,$owner) {
if((! (local_user())) && (! (remote_user())))
return false;
- $uid = get_uid();
+ $uid = local_user();
if(($uid) && ($uid == $owner)) {
return true;