From f16986574a592af2a3a1cda7c77d3b562aa65d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 16 Jan 2008 10:37:30 +0000 Subject: #209077 by bec: missing initialization for the placeholders array in drupal_write_record() --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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. -- cgit v1.2.3