Skip to content

Commit 6a74f8e

Browse files
author
Steven Surowiec
committed
Added missing variable to linkDocumentReferences call
Conflicts: mongodbadmin.php
1 parent 8ece5b3 commit 6a74f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodbadmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function linkDocumentReferences($mongo, $document)
7979
$document[$key]['$id'] = '<a href="'.$_SERVER['PHP_SELF'].'?db='.$_REQUEST['db'].'&collection='.$value['$ref'].'&id='.$value['$id'].'&custom_id=1">'.$document[$key]['$id'].'</a>';
8080
}
8181
} else {
82-
$document[$key] = linkDocumentReferences($value);
82+
$document[$key] = linkDocumentReferences($mongo, $value);
8383
}
8484
}
8585
}

0 commit comments

Comments
 (0)