From 6e642ad6d4911c56772761069589bb6b43b9f4ed Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Wed, 21 Feb 2018 03:37:20 +0000
Subject: [PATCH] Only not generate prefix when parameter is false

---
 boot.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();