diff --git a/database/updates.inc b/database/updates.inc
index f0249be0f61437f7f3a13dfed2e3c0f0b5cded10..a9f153b30617a9ede36566415fef2d7543ce2fe2 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -2064,7 +2064,7 @@ function system_update_185() {
   // Make the forum's vocabulary the highest in list, if present
   $ret = array();
 
-  if ($vid = variable_get('forum_nav_vocabulary', 0) {
+  if ($vid = variable_get('forum_nav_vocabulary', 0)) {
     db_query('UPDATE {vocabulary} SET weight = %d WHERE vid = %d', -10, $vid);
   }