Skip to content

Commit

Permalink
Reverting Jon's change
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 22, 2005
1 parent 30648ee commit 705a2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datalib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ function update_record($table, $dataobject) {

foreach ($ddd as $key => $value) {
$count++;
$update .= $key .' = '. $db->qstr($value);
$update .= $key .' = \''. $value .'\''; // All incoming data is already quoted
if ($count < $numddd) {
$update .= ', ';
}
Expand Down

0 comments on commit 705a2aa

Please sign in to comment.