humanmade/Custom-Meta-Boxes — pull request #149 by mattheu (2014-02-24 13:14:40+00:00)
Title: PHP Notice in get_delegate_data when no terms

Hi Matthew

I was getting a PHP notice in get_delegate_data() in class CMB_Taxonomy so had to add the following code after the get_terms():

if (is_object($terms) && get_class($terms)=='WP_Error') { return array(); }

Chris