Skip to content
Browse files

added query to log

  • Loading branch information...
1 parent 6871458 commit 9a437d96858fbac28240c8c1766d16fe898483d9 @maxwellium committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Model/Datasource/CouchDBSource.php
View
2 Model/Datasource/CouchDBSource.php
@@ -197,7 +197,7 @@ public function query($url, $method = 'get', $query = array(), $data = array())
$this->_queriesCnt++;
$this->_queriesTime += $t;
$this->_queriesLog[] = array(
- 'query' => $method . ' ' . $url . ' ' . print_r($data, true),
+ 'query' => $method . ' ' . $url . ' ' . print_r($query, true), ' ' . print_r($data, true)
'params' => $data,
'affected'=> 0,
'numRows' => 0,

0 comments on commit 9a437d9

Please sign in to comment.
Something went wrong with that request. Please try again.