- Issue created by @joelpittet
-
poker10 β
committed 29d5af3a on 7.x-2.x authored by
joelpittet β
Issue #3394723 by joelpittet: Passing null to parameter #1 ($string) of...
-
poker10 β
committed 29d5af3a on 7.x-2.x authored by
joelpittet β
- Status changed to Fixed
8 months ago 11:16pm 27 March 2024 - πΈπ°Slovakia poker10
The fix looks good, thanks!
The link parameter in watchdog function is optional, see: https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/watc... and if it is not passed, NULL will be used instead. The NULL value is then passed to:
emaillog_watchdog()
drupal_mail()
emaillog_mail()
and finally ends up in$params
array here:theme('emaillog', array('log' => $params));
Need to say the same cast is in core: https://api.drupal.org/api/drupal/modules%21syslog%21syslog.module/funct...
Committed and pushed this, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.