|
|
@@ -181,7 +181,8 @@ class BxBaseModTextFormEntry extends BxBaseModGeneralFormEntry
|
|
|
$aValuesForSelect = BxDolCategories::getInstance()->getData(array('type' => 'by_module_and_author', 'module' => $this->_oModule->getName(), 'author' => bx_get_logged_profile_id()));
|
|
|
|
|
|
$aSelectedItems = array();
|
|
|
- $aInput['value'] = array_filter($aInput['value']);
|
|
|
+ if (isset($aInput['value']))
|
|
|
+ $aInput['value'] = array_filter($aInput['value']);
|
|
|
if(!empty($aInput['value'])) {
|
|
|
if (!is_array($aInput['value']))
|
|
|
$aValues = BxDolCategories::getInstance()->getData(array('type' => 'by_module_and_object', 'module' => $this->_oModule->getName(), 'object_id' => (!empty($aInput['content_id']) ? (int)$aInput['content_id'] : 0 )));
|