diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-17 20:27:27 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-17 20:27:27 -0700 |
commit | be981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35 (patch) | |
tree | bdd32d027e56b2fce065e8ddb5ac7bd4ad462bb8 /include/security.php | |
parent | 1d2fdb259eab5af5f6ba967c61707e3a6dd9a3d0 (diff) | |
download | volse-hubzilla-be981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35.tar.gz volse-hubzilla-be981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35.tar.bz2 volse-hubzilla-be981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35.zip |
wrong type comparison (string, int) which was the cause of the last problem.
Diffstat (limited to 'include/security.php')
-rw-r--r-- | include/security.php | 2 |
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; } |