Only not generate prefix when parameter is false
This commit is contained in:
parent
5a30dfcf34
commit
6e642ad6d4
2
boot.php
2
boot.php
|
@ -856,7 +856,7 @@ function check_addons(App $a)
|
||||||
|
|
||||||
function get_guid($size = 16, $prefix = '')
|
function get_guid($size = 16, $prefix = '')
|
||||||
{
|
{
|
||||||
if (is_bool($prefix)) {
|
if (is_bool($prefix) && !$prefix) {
|
||||||
$prefix = '';
|
$prefix = '';
|
||||||
} elseif ($prefix == '') {
|
} elseif ($prefix == '') {
|
||||||
$a = get_app();
|
$a = get_app();
|
||||||
|
|
Loading…
Reference in a new issue