Skip to content

Commit

Permalink
MongoClient.php: fixed typo caused of "beautification"
Browse files Browse the repository at this point in the history
  • Loading branch information
kakserpom committed Sep 24, 2010
1 parent 06d0347 commit 6fa7b37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app-clients/MongoClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 6fa7b37

Please sign in to comment.