We don't need to look for the uid
This commit is contained in:
parent
28678c0fad
commit
443d828ba7
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ function api_rss_extra(App $a, $arr, $user_info)
|
||||||
*/
|
*/
|
||||||
function api_unique_id_to_nurl($id)
|
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)) {
|
if (DBM::is_result($r)) {
|
||||||
return $r["nurl"];
|
return $r["nurl"];
|
||||||
|
|
Loading…
Reference in a new issue