From cb59ca090c5e6f52b4103c0b7dd6c60087473dee Mon Sep 17 00:00:00 2001 From: Richard Wyke Date: Fri, 31 May 2013 22:17:41 +0100 Subject: [PATCH] ObjectIDs can be numeric --- Model/Datasource/MongodbSource.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Model/Datasource/MongodbSource.php b/Model/Datasource/MongodbSource.php index 2fae345..dfbd943 100755 --- a/Model/Datasource/MongodbSource.php +++ b/Model/Datasource/MongodbSource.php @@ -1426,9 +1426,6 @@ public function logQuery($query, $args = array()) { * @access protected */ protected function _convertId(&$mixed, $conditions = false) { - if (is_int($mixed) || ctype_digit($mixed)) { - return; - } if (is_string($mixed)) { if (strlen($mixed) !== 24) { return;