mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
wrong type comparison (string, int) which was the cause of the last problem.
This commit is contained in:
parent
1d2fdb259e
commit
be981a4f8a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue