mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Added changes to obtain id from external php
This commit is contained in:
parent
e91bcf8ad5
commit
088aa51996
@ -161,7 +161,7 @@ if ($new_networkmap || $save_networkmap) {
|
|||||||
true);
|
true);
|
||||||
|
|
||||||
$id = $result;
|
$id = $result;
|
||||||
|
define("_id_", $id);
|
||||||
// Force the tab = 'view'
|
// Force the tab = 'view'
|
||||||
$tab = "view";
|
$tab = "view";
|
||||||
}
|
}
|
||||||
|
@ -677,9 +677,13 @@ if (is_ajax ()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//--------------END AJAX------------------------------------------------
|
//--------------END AJAX------------------------------------------------
|
||||||
if ($id == 0) {
|
if (_id_ != "_id_") {
|
||||||
|
$id = _id_;
|
||||||
|
}
|
||||||
|
else {
|
||||||
$id = (int) get_parameter('id_networkmap', 0);
|
$id = (int) get_parameter('id_networkmap', 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
$dash_mode = 0;
|
$dash_mode = 0;
|
||||||
$map_dash_details = array();
|
$map_dash_details = array();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user