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

This commit is contained in:
Mike Macgirvin 2010-10-17 20:27:27 -07:00
parent 1d2fdb259e
commit be981a4f8a

View 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;
}