diff --git a/mod/crepair.php b/mod/crepair.php index 9828124ea..d7eb14627 100644 --- a/mod/crepair.php +++ b/mod/crepair.php @@ -60,12 +60,14 @@ function crepair_post(&$a) { $attag = ((x($_POST,'attag')) ? $_POST['attag'] : ''); $photo = ((x($_POST,'photo')) ? $_POST['photo'] : ''); $remote_self = ((x($_POST,'remote_self')) ? $_POST['remote_self'] : false); + $nurl = normalise_link($url); - $r = q("UPDATE `contact` SET `name` = '%s', `nick` = '%s', `url` = '%s', `request` = '%s', `confirm` = '%s', `notify` = '%s', `poll` = '%s', `attag` = '%s' , `remote_self` = %d + $r = q("UPDATE `contact` SET `name` = '%s', `nick` = '%s', `url` = '%s', `nurl` = '%s', `request` = '%s', `confirm` = '%s', `notify` = '%s', `poll` = '%s', `attag` = '%s' , `remote_self` = %d WHERE `id` = %d AND `uid` = %d", dbesc($name), dbesc($nick), dbesc($url), + dbesc($nurl), dbesc($request), dbesc($confirm), dbesc($notify), diff --git a/mod/noscrape.php b/mod/noscrape.php index 41ccc30ad..8863d3391 100644 --- a/mod/noscrape.php +++ b/mod/noscrape.php @@ -48,4 +48,4 @@ function noscrape_init(&$a) { echo json_encode($json_info); exit; -} \ No newline at end of file +} diff --git a/view/templates/profile_vcard.tpl b/view/templates/profile_vcard.tpl index b872e8278..4ec3cdf3c 100644 --- a/view/templates/profile_vcard.tpl +++ b/view/templates/profile_vcard.tpl @@ -40,8 +40,12 @@