mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 20:51:30 +00:00
do not use empty() on return value of function
This commit is contained in:
parent
fc1c570366
commit
87894319c9
|
@ -506,7 +506,7 @@ class Settings { /* {{{ */
|
||||||
$this->_converters = array();
|
$this->_converters = array();
|
||||||
foreach($converters as $converter) {
|
foreach($converters as $converter) {
|
||||||
$tab = $converter->attributes();
|
$tab = $converter->attributes();
|
||||||
if(empty(trim(strval($tab['target']))))
|
if(!trim(strval($tab['target'])))
|
||||||
$this->_converters['fulltext'][trim(strval($tab['mimeType']))] = trim(strval($converter));
|
$this->_converters['fulltext'][trim(strval($tab['mimeType']))] = trim(strval($converter));
|
||||||
else
|
else
|
||||||
$this->_converters[trim(strval($tab['target']))][trim(strval($tab['mimeType']))] = trim(strval($converter));
|
$this->_converters[trim(strval($tab['target']))][trim(strval($tab['mimeType']))] = trim(strval($converter));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user