2009-02-24 Evi Vanoost <vanooste@rcbi.rochester.edu>

* include/functions_db.php: Fixed where clause
	
	* images/groups_small/printer.png: Added printer icon to groups since
	it might be useful to create a separate printer group

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
guruevi 2009-02-24 17:32:29 +00:00
parent f7702dd084
commit 1845c221aa
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-02-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Fixed where clause
* images/groups_small/printer.png: Added printer icon to groups since
it might be useful to create a separate printer group
2009-02-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/config_process.php: Added compact_header. If you want to

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

View File

@ -2758,8 +2758,8 @@ function process_sql_update ($table, $values, $where = false, $where_join = 'AND
if ($where) {
if (is_string ($where)) {
/* FIXME: Should we clean the string for sanity? */
$query .= $where;
// No clean, the caller should make sure all input is clean, this is a raw function
$query .= " WHERE ".$where;
} else if (is_array ($where)) {
$query .= format_array_to_where_clause_sql ($where, $where_join, ' WHERE ');
}