Permalink
Browse files

MongoClient.php: fixed typo caused of "beautification"

  • Loading branch information...
1 parent 06d0347 commit 6fa7b371274c4466a423fcb6733a1371ffcebf2c @kakserpom committed Sep 24, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 app-clients/MongoClient.php
@@ -39,7 +39,7 @@ public function init() {
));
$this->cache = Daemon::$appResolver->getInstanceByAppName('MemcacheClient');
- $servers = explode(', ', Daemon::$settings['mod' . $this->modname . 'servers']);
+ $servers = explode(',', Daemon::$settings['mod' . $this->modname . 'servers']);
foreach ($servers as $s) {
$this->addServer($s);
@@ -158,7 +158,7 @@ public function find($p, $callback, $key = '') {
isset($p['fields'])
&& is_string($p['fields'])
) {
- $e = explode(', ', $p['fields']);
+ $e = explode(',', $p['fields']);
$p['fields'] = array();
foreach ($e as &$f) {
@@ -260,7 +260,7 @@ public function findOne($p, $callback, $key = '') {
isset($p['fields'])
&& is_string($p['fields'])
) {
- $e = explode(', ', $p['fields']);
+ $e = explode(',', $p['fields']);
$p['fields'] = array();
foreach ($e as &$f) {

0 comments on commit 6fa7b37

Please sign in to comment.