diff --git a/boot.php b/boot.php index 0d26403bc..a329eec59 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();