Page MenuHomePhabricator

getConfiguration.php can not export null variables
Closed, ResolvedPublic


getConfiguration.php script can export various settings, it is also used to import configurations in SiteConfiguration.php. However, due to a bug in isAllowedVariable() function, it allows only values which are arrays or is_scalar(). Unfortunately, is_scalar(NULL) is false, so it produces an error if any config variable is set to null.