apply StyleCI recommendation

This commit is contained in:
El RIDO
2021-06-09 19:16:22 +02:00
parent a203e6322b
commit 7b2f0ff302
3 changed files with 5 additions and 5 deletions

View File

@@ -460,7 +460,7 @@ class Database extends AbstractData
public function getValue($namespace, $key = '')
{
$configKey = strtoupper($namespace);
$value = $this->_getConfig($configKey);
$value = $this->_getConfig($configKey);
if ($value === '') {
// initialize the row, so that setValue can rely on UPDATE queries
self::_exec(
@@ -640,7 +640,7 @@ class Database extends AbstractData
'SELECT value FROM ' . self::_sanitizeIdentifier('config') .
' WHERE id = ?', array($key), true
);
return $row ? $row['value']: '';
return $row ? $row['value'] : '';
}
/**