2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_agents.php: changed function strstr() for
        substr() in agents_get_modules function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-09-01 09:57:40 +00:00
parent bf06007505
commit 71d3a359d3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: changed function strstr() for
substr() in agents_get_modules function.
2011-09-01 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending

View File

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