fix for wp_error change

This commit is contained in:
John Bintz 2009-06-18 07:29:04 -04:00
parent 65c1ed1fbb
commit 5598b257da
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class ComicPressPostEditor extends ComicPressView {
function ComicPressPostEditor($width = 435, $is_import = false) { function ComicPressPostEditor($width = 435, $is_import = false) {
global $comicpress_manager; global $comicpress_manager;
if (!is_null(get_category($comicpress_manager->properties['comiccat']))) { if (!is_wp_error(get_category($comicpress_manager->properties['comiccat']))) {
$this->form_titles_and_fields = array(); $this->form_titles_and_fields = array();
$this->_storyline_setup(); $this->_storyline_setup();