From: Michael Date: Wed, 21 Feb 2018 03:37:20 +0000 (+0000) Subject: Only not generate prefix when parameter is false X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e642ad6d4911c56772761069589bb6b43b9f4ed;p=friendica.git Only not generate prefix when parameter is false --- diff --git a/boot.php b/boot.php index 0d26403bcb..a329eec59a 100644 --- a/boot.php +++ b/boot.php @@ -856,7 +856,7 @@ function check_addons(App $a) function get_guid($size = 16, $prefix = '') { - if (is_bool($prefix)) { + if (is_bool($prefix) && !$prefix) { $prefix = ''; } elseif ($prefix == '') { $a = get_app();