str_replace() expects at least 3 parame ters, 2 given in sites/all/modules/syslog_ng/syslog_ng.module on line 108.
$watchdog_message = str_replace('<em>'. '', $watchdog_message);
$watchdog_message = str_replace('</em>'. '', $watchdog_message);To
$watchdog_message = str_replace('<em>', '', $watchdog_message);
$watchdog_message = str_replace('</em>', '', $watchdog_message);
Comments
Comment #2
heldercor commentedThis needs fixing.
Comment #3
colanThis appears to be fixed in the 7.x-1.x branch as there is no str_replace() anywhere in the code.
Comment #4
rakesh falke commented