summaryrefslogtreecommitdiff
path: root/modules/comment/comment.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-08 06:52:38 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-08 06:52:38 +0000
commit757c567e557c9360dfd7f50ddd914ca1c3634807 (patch)
treed0994fe4162eb621cd03efd66289fa1f79bb33b7 /modules/comment/comment.install
parentdaa59856c3642c192be43104ff945f3182d026d9 (diff)
downloadbrdo-757c567e557c9360dfd7f50ddd914ca1c3634807.tar.gz
brdo-757c567e557c9360dfd7f50ddd914ca1c3634807.tar.bz2
#654014 by moshe weitzman: Fix broken update functions.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r--modules/comment/comment.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index 44087ea43..9a571c159 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -73,7 +73,7 @@ function comment_update_7001() {
foreach ($changes as $old => $new) {
db_update('comments')
- ->fields(array('status', $new))
+ ->fields(array('status' => $new))
->condition('status', $old)
->execute();
}