mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 06:33:22 +02:00
Code cleanup
This commit is contained in:
@@ -784,16 +784,15 @@ class page_admin_ui extends e_admin_ui
|
||||
|
||||
$chap = intval($row['page_chapter']);
|
||||
|
||||
$this->tabs[] = "Additional Fields";
|
||||
|
||||
$curVal = e107::unserialize($row['page_fields']);
|
||||
|
||||
$tabCount = count($this->tabs) -1;
|
||||
|
||||
$this->getModel()->set('page_fields', null);
|
||||
|
||||
if(!empty($this->chapterFields[$chap]))
|
||||
{
|
||||
$curVal = e107::unserialize($row['page_fields']);
|
||||
|
||||
$this->tabs[] = "Additional Fields";
|
||||
$tabCount = count($this->tabs) -1;
|
||||
|
||||
foreach($this->chapterFields[$chap] as $key=>$fld)
|
||||
{
|
||||
|
Reference in New Issue
Block a user