mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/module_manager.php: Fixed an sql error. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d8035b6f0f
commit
dfef5e3c71
@ -1,3 +1,7 @@
|
|||||||
|
2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager.php: Fixed an sql error.
|
||||||
|
|
||||||
2011-11-25 Sergio Martin <sergio.martin@artica.es>
|
2011-11-25 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/functions_config.php: Fixed API IP list of
|
* include/functions_config.php: Fixed API IP list of
|
||||||
|
@ -296,7 +296,7 @@ switch ($config["dbtype"]) {
|
|||||||
if(!isset($limit_sql)) {
|
if(!isset($limit_sql)) {
|
||||||
$limit_sql = " LIMIT $offset, $limit ";
|
$limit_sql = " LIMIT $offset, $limit ";
|
||||||
}
|
}
|
||||||
$sql = sprintf("SELECT %s total FROM tagente_modulo WHERE %s (%s) %s %s",
|
$sql = sprintf("SELECT %s FROM tagente_modulo WHERE %s (%s) %s %s",
|
||||||
$params, $extra_sql, $where, $order_sql, $limit_sql);
|
$params, $extra_sql, $where, $order_sql, $limit_sql);
|
||||||
|
|
||||||
$modules = db_get_all_rows_sql($sql);
|
$modules = db_get_all_rows_sql($sql);
|
||||||
@ -305,7 +305,7 @@ switch ($config["dbtype"]) {
|
|||||||
$set = array();
|
$set = array();
|
||||||
$set['limit'] = $limit;
|
$set['limit'] = $limit;
|
||||||
$set['offset'] = $offset;
|
$set['offset'] = $offset;
|
||||||
$sql = sprintf("SELECT %s total FROM tagente_modulo WHERE %s (%s) %s",
|
$sql = sprintf("SELECT %s FROM tagente_modulo WHERE %s (%s) %s",
|
||||||
$params, $extra_sql, $where, $order_sql);
|
$params, $extra_sql, $where, $order_sql);
|
||||||
$modules = oracle_recode_query ($sql, $set, 'AND', false);
|
$modules = oracle_recode_query ($sql, $set, 'AND', false);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user