Skip to content
Browse files

CouchDB 1.2 support

  • Loading branch information...
1 parent 30682d6 commit 4d316d4a79ca49e3299fb2b2ff64c2cf530b7cf4 @1999 committed Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 couchdb.php
View
2 couchdb.php
@@ -221,7 +221,7 @@ private function _dbMeta( $dbName ) {
}
// empty database
- if ( preg_match( '#Etag:\s"(.*?)"#m', $response, $matches ) == 0 ) {
+ if ( preg_match( '#etag:\s"(.*?)"#im', $response, $matches ) == 0 ) {
if ( false !== $cacheData ) {
$this->_memcache->delete( $cacheKey, 0 );
}

0 comments on commit 4d316d4

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