summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--database/updates.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/updates.inc b/database/updates.inc
index 9b10baa46..e1523b949 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -350,6 +350,7 @@ function update_117() {
function update_118() {
$ret = array();
+ $node_types = array();
$result = db_query('SELECT vid, nodes FROM {vocabulary}');
while ($vocabulary = db_fetch_object($result)) {
$node_types[$vocabulary->vid] = explode(',', $vocabulary->nodes);