Only not generate prefix when parameter is false
This commit is contained in:
parent
5a30dfcf34
commit
6e642ad6d4
1 changed files with 1 additions and 1 deletions
2
boot.php
2
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();
|
||||
|
|
Loading…
Reference in a new issue