diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-21 20:19:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-21 20:19:48 +0000 |
commit | 5af292f76b27ffa7d6d571ddf6b663ebf0a92252 (patch) | |
tree | 6ebaf5dab2410cfe22b49766684ba5e2ac72bbbb | |
parent | f10d7281250b0027e459a7ac96829573285e8672 (diff) | |
download | brdo-5af292f76b27ffa7d6d571ddf6b663ebf0a92252.tar.gz brdo-5af292f76b27ffa7d6d571ddf6b663ebf0a92252.tar.bz2 |
- Patch #767512 by jhedstrom, Damien Tournoud: fixed error.
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index dd032cb4c..8fc1e0754 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1192,7 +1192,7 @@ function bootstrap_hooks() { function drupal_unpack($obj, $field = 'data') { if ($obj->$field && $data = unserialize($obj->$field)) { foreach ($data as $key => $value) { - if (!isset($obj->$key)) { + if (!empty($key) && !isset($obj->$key)) { $obj->$key = $value; } } |