mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +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();
|
||||
foreach($converters as $converter) {
|
||||
$tab = $converter->attributes();
|
||||
if(empty(trim(strval($tab['target']))))
|
||||
if(!trim(strval($tab['target'])))
|
||||
$this->_converters['fulltext'][trim(strval($tab['mimeType']))] = trim(strval($converter));
|
||||
else
|
||||
$this->_converters[trim(strval($tab['target']))][trim(strval($tab['mimeType']))] = trim(strval($converter));
|
||||
|
|
Loading…
Reference in New Issue
Block a user