From 0781a3dbbf2d9bf8fb20c8e7bb28564a7d5a06e0 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 5 Nov 2012 03:04:32 +0000 Subject: [PATCH] Fix incorrect type in example, per notes 105834 and 110529. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328236 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongodb/getdbref.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/mongo/mongodb/getdbref.xml b/reference/mongo/mongodb/getdbref.xml index b4fb5d0fbe..ab7e7c6ceb 100644 --- a/reference/mongo/mongodb/getdbref.xml +++ b/reference/mongo/mongodb/getdbref.xml @@ -53,7 +53,7 @@ $ref = array( '$ref' => 'profiles', - '$id' => '47cc67093475061e3d9536d2' + '$id' => new MongoId('47cc67093475061e3d9536d2') ); $profile = $db->getDBRef($ref);