This commit is contained in:
Uwe Steinmann 2018-09-25 08:54:07 +02:00
parent 3f41c99f3a
commit 6f7b3b68e5
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@
- make buttons on admin page smaller
- pass optional parameter to hook documentListItem() which turns off the
surrounding tr tag
- do not be strict anymore when checking if config value of extension is
in list of possible values (Closes #413)
--------------------------------------------------------------------------------
Changes in version 5.1.8

View File

@ -486,7 +486,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
echo "<select class=\"chzn-select\" name=\"extensions[".$extname."][".$confkey."][]\"".(!empty($conf['multiple']) ? " multiple" : "").(!empty($conf['size']) ? " size=\"".$conf['size']."\"" : "").">";
foreach($conf['options'] as $key=>$opt) {
echo "<option value=\"".$key."\"";
if(in_array($key, $selections, true))
if(in_array($key, $selections))
echo " selected";
echo ">".htmlspecialchars($opt)."</option>";
}