mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed the separator (sometimes it is other) in the ajax call get_agent_modules_json_for_multiple_agents.
(cherry picked from commit 6f71a01b0c4cabdb14e2953239b1330c12f5ec26)
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…
x
Reference in New Issue
Block a user