2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$result=db_query('SELECT name, title, type, weight FROM {profile_fields} WHERE fid != %d AND visibility = %d ORDER BY weight',$field->fid,PROFILE_PUBLIC_LISTINGS);
$result=db_query('SELECT name, title, type, weight, page FROM {profile_fields} WHERE fid != %d AND visibility = %d ORDER BY weight',$field->fid,PROFILE_PUBLIC_LISTINGS);
while($record=db_fetch_object($result)){
while($record=db_fetch_object($result)){
$fields[]=$record;
$fields[]=$record;
}
}
...
@@ -489,7 +489,7 @@ function profile_browse() {
...
@@ -489,7 +489,7 @@ function profile_browse() {
else{
else{
// Compile a list of fields to show.
// Compile a list of fields to show.
$fields=array();
$fields=array();
$result=db_query('SELECT name, title, type, weight FROM {profile_fields} WHERE visibility = %d ORDER BY category, weight',PROFILE_PUBLIC_LISTINGS);
$result=db_query('SELECT name, title, type, weight, page FROM {profile_fields} WHERE visibility = %d ORDER BY category, weight',PROFILE_PUBLIC_LISTINGS);