mirror of https://github.com/MISP/MISP
parent
0e2e5bdbe1
commit
8d9d0e6411
|
@ -25,7 +25,7 @@ class AppController extends Controller
|
|||
|
||||
public $helpers = array('OrgImg', 'FontAwesome', 'UserName', 'DataPathCollector');
|
||||
|
||||
private $__queryVersion = '125';
|
||||
private $__queryVersion = '126';
|
||||
public $pyMispVersion = '2.4.138';
|
||||
public $phpmin = '7.2';
|
||||
public $phprec = '7.4';
|
||||
|
|
|
@ -466,7 +466,7 @@ function findPropertyFromValue(token) {
|
|||
|
||||
function findMatchingHints(str, allHints) {
|
||||
allHints = allHints.map(function(str) {
|
||||
var strArray = typeof str === "object" ? str.value.split('"') : str.split('"')
|
||||
var strArray = typeof str === "object" ? String(str.value).split('"') : str.split('"')
|
||||
return {
|
||||
text: strArray.join('\\\"'), // transforms quoted elements into escaped quote
|
||||
renderText: typeof str === "object" ? str.label : strArray.join('\"'),
|
||||
|
|
Loading…
Reference in New Issue