Fix empty check
This commit is contained in:
parent
bb01a6d817
commit
de38fed306
|
@ -92,7 +92,7 @@ App::post('/v1/projects')
|
|||
throw new Exception(Exception::PROJECT_RESERVED_PROJECT, "'console' is a reserved project.");
|
||||
}
|
||||
|
||||
if (\empty($region)) {
|
||||
if (empty($region)) {
|
||||
$region = App::getEnv('_APP_REGION', 'default');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue