diff --git a/application/core/install_helper_functions_api.php b/application/core/install_helper_functions_api.php index 444c62255a..e217e78ad0 100644 --- a/application/core/install_helper_functions_api.php +++ b/application/core/install_helper_functions_api.php @@ -422,7 +422,7 @@ function install_create_admin_if_not_exist( $p_data ) { VALUES ( " . db_param() . ', ' . db_param() . ', ' . db_param() . ', ' . db_param() . ', ' . db_param() . ', ' . db_param() . ", " . db_param() . ',' . db_param() . ',' . db_param() . ',' . db_param() . ', ' . db_param() . ')'; - db_query_bound( $query, array( $p_username, $p_email, $t_password, db_now(), db_now(), 1, 1, 90, 0, $t_cookie_string, '' ) ); + db_query_bound( $query, array( $p_username, $p_email, $t_password, db_now(), db_now(), 1, 0, 90, 0, $t_cookie_string, '' ) ); # Create preferences for the user $t_user_id = db_insert_id( $t_user_table );