mirror of https://github.com/MISP/MISP
Merge pull request #9764 from Wachizungu/add-mysqlobserverextended-validdatasource
chg: [diagnostics] add Database/MysqlObserverExtended to valid data s…pull/9771/head
commit
35dc06259d
|
@ -168,7 +168,7 @@ function highlightAndSanitize($dirty, $toHighlight, $colorType = 'success')
|
|||
: __('Updates are not locked'),
|
||||
$updateLocked ? 'times' : 'check'
|
||||
);
|
||||
$validDataSource = in_array($dataSource, ['Database/Mysql', 'Database/MysqlExtended'], true);
|
||||
$validDataSource = in_array($dataSource, ['Database/Mysql', 'Database/MysqlExtended', 'Database/MysqlObserverExtended'], true);
|
||||
echo sprintf('<span class="label label-%s" title="%s" style="margin-left: 5px;">%s <i class="fas fa-%s"></i></span>',
|
||||
$validDataSource ? 'success' : 'important',
|
||||
__('DataSource: ') . h($dataSource),
|
||||
|
|
Loading…
Reference in New Issue