wrong type comparison (string, int) which was the cause of the last problem.

pull/1/head
Mike Macgirvin 13 years ago
parent 1d2fdb259e
commit be981a4f8a

@ -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…
Cancel
Save