empty is not isset ...

This commit is contained in:
Philipp Holzer 2018-07-09 21:53:49 +02:00
parent 8c2258dd2e
commit d1eeaeead9
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6

View file

@ -186,7 +186,7 @@ EOT;
{ {
if (is_bool($prefix) && !$prefix) { if (is_bool($prefix) && !$prefix) {
$prefix = ''; $prefix = '';
} elseif (!isset($prefix)) { } elseif (!empty($prefix)) {
$prefix = hash('crc32', self::getApp()->get_hostname()); $prefix = hash('crc32', self::getApp()->get_hostname());
} }