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:
parent
bf06007505
commit
71d3a359d3
|
@ -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>
|
2011-09-01 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending
|
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending
|
||||||
|
|
|
@ -1010,7 +1010,8 @@ function agents_get_modules ($id_agent = null, $details = false, $filter = false
|
||||||
break;
|
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']) {
|
switch ($config['dbtype']) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
case "postgresql":
|
case "postgresql":
|
||||||
|
|
Loading…
Reference in New Issue