I get WSOD (empty screen) when I try to enable flag friend module. When I enable error reporting:

Parse error: syntax error, unexpected '}' in .../sites/all/modules/flag_friend/flag_friend.install on line 109

Comments

Sinan Erdem’s picture

On line 109 of flag_friend.install

foreach ($flag_friends as $id) {
    list($uid, $friend_uid) = explode('__', $id);
    db_query("DELETE ff FROM {flag_friend} ff WHERE ff.uid = :uid AND ff.friend_uid = :friend_uid", array(':uid' => $uid, ':friend_uid' => $friend_uid));+  }

I think the + sign just before the bracket causes this...

sirkitree’s picture

Status: Active » Closed (duplicate)

This was fixed in the latest -dev. I'll roll a new alpha soon.

@see #1414998: flag_friend.install