aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-17 20:27:27 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-17 20:27:27 -0700
commitbe981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35 (patch)
treebdd32d027e56b2fce065e8ddb5ac7bd4ad462bb8 /include
parent1d2fdb259eab5af5f6ba967c61707e3a6dd9a3d0 (diff)
downloadvolse-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')
-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;
}