From: rabuzarus Date: Fri, 6 May 2016 14:07:53 +0000 (+0200) Subject: poke: fix poke dialog - js tests now if there is already a questionmark in the url X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e2ed86758cc325fba5c7057e6553e80892d1ec7;p=friendica-addons.git poke: fix poke dialog - js tests now if there is already a questionmark in the url --- diff --git a/frio_hovercard.php b/frio_hovercard.php index 9ddb4ce3..ef1175ae 100644 --- a/frio_hovercard.php +++ b/frio_hovercard.php @@ -75,6 +75,7 @@ function frio_hovercard_content() { 'addr' => (($contact["addr"] != "") ? $contact["addr"] : $contact["url"]), 'thumb' => proxy_url($contact["photo"], false, PROXY_SIZE_THUMB), 'url' => ($cid ? ("redir/".$cid) : zrl($contact["url"])), + 'nurl' => $contact["nurl"], // We additionaly strore the nurl as identifier // 'alias' => $contact["alias"], 'location' => $contact["location"], 'gender' => $contact["gender"], @@ -126,15 +127,3 @@ function get_template_content($template, $root = "") { return false; } - - -function save_this_query() { - $contacts = q("SELECT * FROM `gcontact` - WHERE ((NOT `gcontact`.`hide` AND `gcontact`.`network` IN ('%s', '%s', '%s') AND - ((`gcontact`.`last_contact` >= `gcontact`.`last_failure`) OR (`gcontact`.`updated` >= `gcontact`.`last_failure`)))) AND - (`gcontact`.`addr` = '%s' OR `gcontact`.`nurl` = '%s') - LIMIT 1", - dbesc(NETWORK_DFRN), dbesc($ostatus), dbesc($diaspora), - dbesc(escape_tags($url)) - ); -}