mirror of https://github.com/MISP/MISP
fix: [php 7.2] compatibility
parent
35b4803400
commit
fc3439acc1
|
@ -59,7 +59,7 @@ class WorkflowShell extends AppShell {
|
|||
$for_path,
|
||||
$roamingData,
|
||||
$concurrentErrors,
|
||||
$walkResult,
|
||||
$walkResult
|
||||
);
|
||||
$job = $this->Job->read(null, $jobId);
|
||||
$job['Job']['progress'] = 100;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
'function' => function ($row) use ($baseurl) {
|
||||
return implode('<br />', array_map(function($trigger) use ($baseurl) {
|
||||
return sprintf('<a href="%s/workflows/moduleView/%s" %s><i class="fa-fw %s"></i> %s</a>',
|
||||
$baseurl,
|
||||
h($baseurl),
|
||||
h($trigger['id']),
|
||||
!empty($trigger['disabled']) ? sprintf('class="%s" style="%s" title="%s"', 'muted', 'text-decoration: line-through;', __('Trigger disabled')) : '',
|
||||
$this->FontAwesome->getClass($trigger['icon']),
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
echo sprintf('<div class="alert alert-error"><strong>%s</strong> %s<div>%s</div></div>',
|
||||
__('MISP Modules Action Services is not reachable!'),
|
||||
__('Some modules will not be available.'),
|
||||
__('Make sure the %s %s is enabled and the action service is reachable.', sprintf('<a href="%s">%s</a>', $baseurl . '/servers/serverSettings/Plugin', __('setting')), sprintf('<code>%s</code>', 'Plugin.Action_services_enable')),
|
||||
__('Make sure the %s %s is enabled and the action service is reachable.', sprintf('<a href="%s">%s</a>', $baseurl . '/servers/serverSettings/Plugin', __('setting')), sprintf('<code>%s</code>', 'Plugin.Action_services_enable'))
|
||||
);
|
||||
}
|
||||
if (!empty($errorWhileLoading)) {
|
||||
|
|
Loading…
Reference in New Issue