1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Fix for missing custom fields tab.

This commit is contained in:
lonalore
2017-01-31 11:21:42 +01:00
parent 6531a68e00
commit 19d111e9d2

View File

@@ -801,9 +801,11 @@ class page_admin_ui extends e_admin_ui
{
$tabId = 'additional';
e107::getCustomFields()->setTab($tabId, "Additional")->setAdminUIConfig('page_fields',$this);
if(!empty($this->chapterFields[$chap]))
{
e107::getCustomFields()->setTab($tabId, "Additional")->loadConfig($this->chapterFields[$chap])->setAdminUIConfig('page_fields',$this);
e107::getCustomFields()->loadConfig($this->chapterFields[$chap])->setAdminUIConfig('page_fields',$this);
}
else
{