aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php
index 1e0107dcc..2ff26ff74 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;
}