diff --git a/core/modules/taxonomy/taxonomy.admin.inc b/core/modules/taxonomy/taxonomy.admin.inc
index 4161f5a..5c10cdb 100644
--- a/core/modules/taxonomy/taxonomy.admin.inc
+++ b/core/modules/taxonomy/taxonomy.admin.inc
@@ -160,7 +160,7 @@ function taxonomy_overview_terms($form, &$form_state, Vocabulary $vocabulary) {
   foreach ($current_page as $key => $term) {
     $form['terms'][$key]['#term'] = $term;
     $indentation = array();
-    if (isset($term->depth) && $term->depth > 0) {
+    if (isset($term->depth->value) && $term->depth->value > 0) {
       $indentation = array(
         '#theme' => 'indentation',
         '#size' => $term->depth,
