]> git.mxchange.org Git - friendica.git/commitdiff
wrong type comparison (string, int) which was the cause of the last problem.
authorMike Macgirvin <mike@macgirvin.com>
Mon, 18 Oct 2010 03:27:27 +0000 (20:27 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Mon, 18 Oct 2010 03:27:27 +0000 (20:27 -0700)
include/security.php

index 1e0107dcca50041bd4df49adbd546c3135ac55c6..2ff26ff74eafee39b100cf38392caf7eb0f73110 100644 (file)
@@ -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;
                }