diff --git a/libraries/cms/table/corecontent.php b/libraries/cms/table/corecontent.php index 417ae011d0fd4..5bf83679a9e3d 100644 --- a/libraries/cms/table/corecontent.php +++ b/libraries/cms/table/corecontent.php @@ -110,7 +110,15 @@ public function check() { $this->core_alias = JFactory::getDate()->format('Y-m-d-H-i-s'); } - + // Not Null sanity check + if (empty($this->core_images)) + { + $this->core_images = '{}'; + } + if (empty($this->core_urls)) + { + $this->core_urls = '{}'; + } // Check the publish down date is not earlier than publish up. if ($this->core_publish_down > $this->_db->getNullDate() && $this->core_publish_down < $this->core_publish_up) {