diff --git a/arguments/vid.inc b/arguments/vid.inc index a227eff8bd54275fcdcc335d7b18a945005f42aa..7be5e174e287eb15d1615f69e5b72c27b30df437 100644 --- a/arguments/vid.inc +++ b/arguments/vid.inc @@ -35,7 +35,7 @@ function panels_vid_context($arg = NULL, $conf = NULL, $empty = FALSE) { return PANELS_ARG_IS_BAD; } - $vocabulary = taxonomy_get_vocabulary($arg); + $vocabulary = taxonomy_vocabulary_load($arg); if (!$vocabulary) { return PANELS_ARG_IS_BAD; } diff --git a/contexts/vocabulary.inc b/contexts/vocabulary.inc index fdf1e5d37c9b5926aaa8a8e8560a61dc642ea2a0..7e7cda7cf02c76a9f2130bfe547e3bb2b403d70a 100644 --- a/contexts/vocabulary.inc +++ b/contexts/vocabulary.inc @@ -34,7 +34,7 @@ function panels_context_create_vocabulary($empty, $data = NULL, $conf = FALSE) { } if ($conf) { - $data = taxonomy_get_vocabulary($data['vid']); + $data = taxonomy_vocabulary_load($data['vid']); } if (!empty($data)) {