|
@@ -359,7 +359,8 @@ |
|
|
block discarded – undo |
|
359
|
359
|
call_integration_hook('integrate_fetch_alerts', array(&$alerts, &$formats)); |
|
360
|
360
|
|
|
361
|
361
|
// Substitute $scripturl into the link formats. (Done here to make life easier for hooked mods.) |
|
362
|
|
- $formats = array_map(function ($format) use ($scripturl) { |
|
|
362
|
+ $formats = array_map(function ($format) use ($scripturl) |
|
|
363
|
+ { |
|
363
|
364
|
$format['link'] = str_replace('{scripturl}', $scripturl, $format['link']); |
|
364
|
365
|
$format['text'] = str_replace('{scripturl}', $scripturl, $format['text']); |
|
365
|
366
|
|
Please login to merge, or discard this patch.