in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument" in file /var/www/red/mod/notifications/views/default/notifications/subscriptions/forminternals.php (line 203):
foreach($NOTIFICATION_HANDLERS as $method => $foo) {^M
line 203 --> if (in_array($friend->guid,$subs[$method])) {^M
$checked[$method] = 'checked="checked"';^M
} else {^M
$checked[$method] = '';^M
}^M
if ($i > 0) $fields .= "<td class=\"spacercolumn\"> </td>";^M
$fields .= <<< END^M
<td class="{$method}togglefield">^M
<a border="0" id="{$method}{$friend->guid}" class="{$method}toggleOff" onclick="adjust{$method}_alt('{$method}{$friend->guid}');">^M
<input type="checkbox" name="{$method}subscriptions[]" id="{$method}checkbox" onclick="adjust{$method}('{$method}{$friend->guid}');" value="{$friend->guid}" {$checked[$method]} /></a></td>^M
END;^M
$i++;^M
}
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.