Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MongoClient.php: fixed typo caused of "beautification"

  • Loading branch information...
commit 6fa7b371274c4466a423fcb6733a1371ffcebf2c 1 parent 06d0347
@kakserpom authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 app-clients/MongoClient.php
View
6 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) {
Please sign in to comment.
Something went wrong with that request. Please try again.