]> git.mxchange.org Git - friendica.git/commitdiff
We don't need to look for the uid
authorMichael <heluecht@pirati.ca>
Sun, 3 Jun 2018 10:29:42 +0000 (10:29 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 3 Jun 2018 10:29:42 +0000 (10:29 +0000)
include/api.php

index e93f44f2e0b975f3495d52224c27528d0ec8c367..de5c5689f17ab91a80a637b807ec5eb200232cbc 100644 (file)
@@ -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"];