From: Michael Date: Sun, 3 Jun 2018 10:29:42 +0000 (+0000) Subject: We don't need to look for the uid X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=443d828ba727a1e9ff1dbdb0784ad03652de9b1f;p=friendica.git We don't need to look for the uid --- diff --git a/include/api.php b/include/api.php index e93f44f2e0..de5c5689f1 100644 --- a/include/api.php +++ b/include/api.php @@ -492,7 +492,7 @@ function api_rss_extra(App $a, $arr, $user_info) */ function api_unique_id_to_nurl($id) { - $r = dba::selectFirst('contact', ['nurl'], ['uid' => 0, 'id' => $id]); + $r = dba::selectFirst('contact', ['nurl'], ['id' => $id]); if (DBM::is_result($r)) { return $r["nurl"];