Commit 37b14043 authored by Dries's avatar Dries
Browse files

- Patch #39722 by jvandyk: fixed warning in updates.inc.

parent eaad4aa2
...@@ -350,6 +350,7 @@ function update_117() { ...@@ -350,6 +350,7 @@ function update_117() {
function update_118() { function update_118() {
$ret = array(); $ret = array();
$node_types = array();
$result = db_query('SELECT vid, nodes FROM {vocabulary}'); $result = db_query('SELECT vid, nodes FROM {vocabulary}');
while ($vocabulary = db_fetch_object($result)) { while ($vocabulary = db_fetch_object($result)) {
$node_types[$vocabulary->vid] = explode(',', $vocabulary->nodes); $node_types[$vocabulary->vid] = explode(',', $vocabulary->nodes);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment