2011-09-01 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_agents.php: added the other part of logical expression
	in the patch of strstr. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-09-01 15:59:19 +00:00
parent 4559d28cd3
commit 3fc96d9c44
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added the other part of logical expression
in the patch of strstr.
2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_users.php: added the function "users_get_first_group"

View File

@ -1011,7 +1011,7 @@ function agents_get_modules ($id_agent = null, $details = false, $filter = false
}
}
//else if (strstr($value, '666=666', true) == '') {
else if (substr ($value, 0, strpos ($value, '666=666'))){
else if (substr ($value, 0, strpos ($value, '666=666')) == '') {
switch ($config['dbtype']) {
case "mysql":
case "postgresql":