]> git.mxchange.org Git - friendica.git/commitdiff
empty is not isset ...
authorPhilipp Holzer <admin@philipp.info>
Mon, 9 Jul 2018 19:53:49 +0000 (21:53 +0200)
committerPhilipp Holzer <admin@philipp.info>
Mon, 9 Jul 2018 19:53:49 +0000 (21:53 +0200)
src/Core/System.php

index 058aca130dfc78b4a1bdf7d1878cf44bd868f198..2fcbee14f5eb543076c0bb0727c8bb8316c44e86 100644 (file)
@@ -186,7 +186,7 @@ EOT;
        {
                if (is_bool($prefix) && !$prefix) {
                        $prefix = '';
-               } elseif (!isset($prefix)) {
+               } elseif (!empty($prefix)) {
                        $prefix = hash('crc32', self::getApp()->get_hostname());
                }