mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
prevent php warning if converters are not set
This commit is contained in:
parent
ca1b5ba5cc
commit
09c7c0fc2a
|
@ -747,14 +747,16 @@ if(!is_writeable($settings->_configFilePath)) {
|
|||
?>
|
||||
<tr><td><b><?php printMLText($target."_converters");?></b></td></tr>
|
||||
<?php
|
||||
foreach($settings->_converters[$target] as $mimetype=>$cmd) {
|
||||
if(!empty($settings->_converters[$target])) {
|
||||
foreach($settings->_converters[$target] as $mimetype=>$cmd) {
|
||||
?>
|
||||
<tr title="<?php echo $mimetype;?>">
|
||||
<td><?php echo $mimetype;?>:</td>
|
||||
<td><?php $this->showTextField("converters[".$target."][".$mimetype."]", htmlspecialchars($cmd)); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<tr title="">
|
||||
<td><?php $this->showTextField("converters[".$target."][newmimetype]", "", '', getMLText('converter_new_mimetype')); ?>:</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user