added spaces + curly braces

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder
2016-12-20 11:36:03 +01:00
parent 1248b26d3c
commit d3391e12e3
7 changed files with 23 additions and 16 deletions

View File

@@ -502,8 +502,9 @@ function profiles_post(App &$a) {
// Update global directory in background
$url = $_SESSION['my_url'];
if($url && strlen(get_config('system','directory')))
if ($url && strlen(get_config('system','directory'))) {
proc_run(PRIORITY_LOW, "include/directory.php", $url);
}
require_once('include/profile_update.php');
profile_change();