mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2010-04-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: rollback to the fixed (r2563) in the function "get_db_value_filter". git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bb8a6e6f6b
commit
1af12be6c9
@ -1,3 +1,8 @@
|
|||||||
|
2010-04-19 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/functions_db.php: rollback to the fixed (r2563) in the function
|
||||||
|
"get_db_value_filter".
|
||||||
|
|
||||||
2010-04-19 Pablo de la Concepción <pablo.concepcion@artica.es>
|
2010-04-19 Pablo de la Concepción <pablo.concepcion@artica.es>
|
||||||
|
|
||||||
* godmode/agentes/module_manager_editor_prediction.php: Make the services
|
* godmode/agentes/module_manager_editor_prediction.php: Make the services
|
||||||
|
@ -1671,7 +1671,7 @@ function get_db_value_filter ($field, $table, $filter, $where_join = 'AND') {
|
|||||||
unset ($filter['limit']);
|
unset ($filter['limit']);
|
||||||
unset ($filter['offset']);
|
unset ($filter['offset']);
|
||||||
|
|
||||||
$sql = sprintf ("SELECT `%s` FROM %s WHERE %s LIMIT 1",
|
$sql = sprintf ("SELECT %s FROM %s WHERE %s LIMIT 1",
|
||||||
$field, $table,
|
$field, $table,
|
||||||
format_array_to_where_clause_sql ($filter, $where_join));
|
format_array_to_where_clause_sql ($filter, $where_join));
|
||||||
$result = get_db_all_rows_sql ($sql);
|
$result = get_db_all_rows_sql ($sql);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user