2012-03-15 Hirofumi Kosaka <kosaka@rworks.jp>

* include/functions_api.php: Fixed the function "set_new_agent"
	to refer to the proper $config.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2012-03-15 02:57:16 +00:00
parent d44be914a9
commit ec6d0458a5
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-03-15 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed the function "set_new_agent"
to refer to the proper $config.
2012-03-14 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: added lost lines.

View File

@ -679,6 +679,8 @@ function get_tree_agents($trash1, $trahs2, $other, $returnType)
* @param $thrash3 Don't use.
*/
function set_new_agent($thrash1, $thrash2, $other, $thrash3) {
global $config;
$name = $other['data'][0];
$ip = $other['data'][1];
$idParent = $other['data'][2];