From 757c567e557c9360dfd7f50ddd914ca1c3634807 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 8 Dec 2009 06:52:38 +0000 Subject: #654014 by moshe weitzman: Fix broken update functions. --- modules/comment/comment.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment') 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(); } -- cgit v1.2.3