@@ -225,6 +225,9 @@ function user_authorise($token, $useragent) {
...
@@ -225,6 +225,9 @@ function user_authorise($token, $useragent) {
// load existing profile information
// load existing profile information
$profilefields=array();
$profilefields=array();
$profile_data=get_records_select_assoc('artefact',"owner=? AND artefacttype IN (".join(",",array_map(create_function('$a','return db_quote($a);'),array_keys($element_list))).")",array($USER->get('id')),'','artefacttype, title');
$profile_data=get_records_select_assoc('artefact',"owner=? AND artefacttype IN (".join(",",array_map(create_function('$a','return db_quote($a);'),array_keys($element_list))).")",array($USER->get('id')),'','artefacttype, title');