handle potential missing array

This commit is contained in:
John Bintz 2009-11-23 08:04:22 -05:00
parent 1f86a06e2f
commit 4b4762f45c
1 changed files with 3 additions and 1 deletions

View File

@ -412,7 +412,9 @@ class ComicPressStoryline {
}
function &include_all() {
$this->_category_search = array_keys($this->_structure);
if (is_array($this->_structure)) {
$this->_category_search = array_keys($this->_structure);
}
return $this;
}