summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2009-04-26 15:50:34 (GMT)
committerDries Buytaert2009-04-26 15:50:34 (GMT)
commit8a280389de5d6d54a1a40247eda7fea7af6b03d1 (patch)
tree84c725b66c178a4f055eb0175378478e1d87ec15
parentf83776a0640dab2a9b957ee60c2e21f578f9cba2 (diff)
- Patch #445266 by j.somers: tiny code clean-up.
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 98d5760..466d50a 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -4035,7 +4035,7 @@ function drupal_write_record($table, &$object, $primary_keys = array()) {
}
else {
$query = db_update($table)->fields($fields);
- foreach ($primary_keys as $key){
+ foreach ($primary_keys as $key) {
$query->condition($key, $object->$key);
}
$return = SAVED_UPDATED;