Commit 5a06b87e authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

fixing another quote_identifer in dml

parent 7b796c5f
......@@ -338,7 +338,7 @@ function get_record_select($table, $select='', $values=null, $fields='*') {
function get_recordset($table, $field='', $value='', $sort='', $fields='*', $limitfrom='', $limitnum='') {
$values = null;
if ($field) {
$select = "$field = ?";
$select = db_quote_identifier($field) . " = ?";
$values = array($value);
} else {
$select = '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment