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:
parent
4559d28cd3
commit
3fc96d9c44
|
@ -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"
|
||||
|
|
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue