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

Fixed Multiselect dropdown so that an empty value also gets saved.

This commit is contained in:
Cameron
2019-12-02 14:18:25 -08:00
parent 5cf54d07d2
commit 972fa1a29c
4 changed files with 26 additions and 4 deletions

View File

@@ -930,7 +930,7 @@ class news_admin_ui extends e_admin_ui
$this->fields['news_meta_robots']['writeParms']['optArray'] = e107::getSingleton('eResponse')->getRobotTypes();
$this->fields['news_meta_robots']['writeParms']['title'] = e107::getSingleton('eResponse')->getRobotDescriptions();
$this->fields['news_meta_robots']['writeParms']['multiple'] = 1;
//$this->fields['news_meta_robots']['writeParms']['default'] = 'blank';
// $this->fields['news_meta_robots']['writeParms']['default'] = 'blank';
// $this->newspost = new admin_newspost;
// $this->newspost->news_renderTypes = $this->news_renderTypes;
// $this->newspost->observer();