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>
|
||||
|
||||
* 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['offset']);
|
||||
|
||||
$sql = sprintf ("SELECT `%s` FROM %s WHERE %s LIMIT 1",
|
||||
$sql = sprintf ("SELECT %s FROM %s WHERE %s LIMIT 1",
|
||||
$field, $table,
|
||||
format_array_to_where_clause_sql ($filter, $where_join));
|
||||
$result = get_db_all_rows_sql ($sql);
|
||||
|
|
Loading…
Reference in New Issue