diff --git a/include/security.php b/include/security.php index 1e0107dcca..2ff26ff74e 100644 --- a/include/security.php +++ b/include/security.php @@ -6,7 +6,7 @@ function can_write_wall(&$a,$owner) { return false; $uid = get_uid(); - if(($uid) && ($uid === $owner)) { + if(($uid) && ($uid == $owner)) { return true; }