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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

heldercor’s picture

Status: Closed (fixed) » Active

This needs fixing.

colan’s picture

This appears to be fixed in the 7.x-1.x branch as there is no str_replace() anywhere in the code.

rakesh falke’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community