Browse Source

Core : fix install on user

idleman 1 year ago
parent
commit
87876c7394
1 changed files with 1 additions and 0 deletions
  1. 1 0
      install.php

+ 1 - 0
install.php

@@ -347,6 +347,7 @@ function install_core($parameters,$custom){
 	$admin->name = 'Principal'; 
 	$admin->superadmin = 1; 
 	$admin->state = User::ACTIVE;
+	$admin->meta = json_encode($admin->meta);
 	$admin->save();
 
 	//create ufr