summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-16 10:37:30 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-16 10:37:30 +0000
commitf16986574a592af2a3a1cda7c77d3b562aa65d66 (patch)
tree146e945d945233a3bc2f5dcd5853c7bf27c4bbc7
parent8cc5f17b58e60c236bacfd077fb431ab03eab565 (diff)
downloadbrdo-f16986574a592af2a3a1cda7c77d3b562aa65d66.tar.gz
brdo-f16986574a592af2a3a1cda7c77d3b562aa65d66.tar.bz2
#209077 by bec: missing initialization for the placeholders array in drupal_write_record()
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index f3c915425..34758a397 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -3246,7 +3246,7 @@ function drupal_write_record($table, &$object, $update = array()) {
return FALSE;
}
- $fields = $defs = $values = $serials = array();
+ $fields = $defs = $values = $serials = $placeholders = array();
// Go through our schema, build SQL, and when inserting, fill in defaults for
// fields that are not set.