1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

Issue #4609 - Was still failing in earlier PHP versions. More tests added. 'empty' attribute added to news_render_type

This commit is contained in:
Cameron
2021-11-04 13:58:05 -07:00
parent 54cb89b87d
commit 35808e5eb9
3 changed files with 61 additions and 12 deletions

View File

@@ -920,6 +920,7 @@ class news_admin_ui extends e_admin_ui
$this->fields['news_category']['writeParms']['size'] = 'xlarge';
$this->fields['news_render_type']['writeParms']['optArray'] = $this->news_renderTypes; // array(NWSLAN_75,NWSLAN_76,NWSLAN_77,NWSLAN_77." 2","Featurebox");
$this->fields['news_render_type']['writeParms']['multiple'] = 1;
$this->fields['news_render_type']['writeParms']['empty'] = '0';
$this->fields['news_meta_robots']['writeParms']['optArray'] = e107::getSingleton('eResponse')->getRobotTypes();
$this->fields['news_meta_robots']['writeParms']['title'] = e107::getSingleton('eResponse')->getRobotDescriptions();