From: Mike Macgirvin Date: Mon, 18 Oct 2010 03:27:27 +0000 (-0700) Subject: wrong type comparison (string, int) which was the cause of the last problem. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35;p=friendica.git wrong type comparison (string, int) which was the cause of the last problem. --- 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; }