Fixed the separator (sometimes it is other) in the ajax call get_agent_modules_json_for_multiple_agents.
(cherry picked from commit 6f71a01b0c
)
This commit is contained in:
parent
b700dca0a4
commit
f9936267e0
|
@ -246,7 +246,12 @@ if (is_ajax ()) {
|
|||
|
||||
foreach ($idAgents as $idA) {
|
||||
if (empty($metaconsole_server_name)) {
|
||||
$row = explode ('|', $idA);
|
||||
if (strstr($idA, "|@_@|")) {
|
||||
$row = explode ('|@_@|', $idA);
|
||||
}
|
||||
else {
|
||||
$row = explode ('|', $idA);
|
||||
}
|
||||
$server_name = $row[0];
|
||||
$id_agent = $row [1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue