check if $settings->_converters['preview'] is set

This commit is contained in:
Uwe Steinmann 2016-05-30 20:34:14 +02:00
parent 95b332586c
commit 50a837a05d

View File

@ -713,6 +713,7 @@ if(!is_writeable($settings->_configFilePath)) {
</tr>
<tr ><td><b> <?php printMLText("preview_converters");?></b></td> </tr>
<?php
if(isset($settings->_converters['preview'])) {
foreach($settings->_converters['preview'] as $mimetype=>$cmd) {
?>
<tr title="<?php echo $mimetype;?>">
@ -721,6 +722,7 @@ if(!is_writeable($settings->_configFilePath)) {
</tr>
<?php
}
}
?>
<tr title="">
<td><?php $this->showTextField("converters[preview][newmimetype]", ""); ?>:</td>