summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--adodb.inc.php2
-rw-r--r--docs/docs-adodb.htm1
2 files changed, 2 insertions, 1 deletions
diff --git a/adodb.inc.php b/adodb.inc.php
index fa05c0fc..25c8677e 100644
--- a/adodb.inc.php
+++ b/adodb.inc.php
@@ -461,7 +461,7 @@ if (!defined('_ADODB_LAYER')) {
{
global $ADODB_vers;
- $ok = preg_match( '/^[Vv]?([0-9]\.[0-9]+(dev|[a-z]))?/', $ADODB_vers, $matches );
+ $ok = preg_match( '/^[Vv]?([0-9]\.[0-9]+(dev|[a-z])?)/', $ADODB_vers, $matches );
if (!$ok) return (float) substr($ADODB_vers,1);
else return $matches[1];
}
diff --git a/docs/docs-adodb.htm b/docs/docs-adodb.htm
index f47150e0..de19196f 100644
--- a/docs/docs-adodb.htm
+++ b/docs/docs-adodb.htm
@@ -6172,6 +6172,7 @@ PHP</a>. </p>
<p><a name=5.20><b>5.20 - ??-???-2014</b>
<p>adodb: AutoExecute correctly handles empty result set in case of updates. See Github #13.
+<p>adodb: Fix regex in Version(). See Github #16
<p>memcache: use include_once() to avoid issues with PHPUnit. See http://phplens.com/lens/lensforum/msgs.php?id=19489
<p>mssqlnative: Use ADOConnection::outp instead of error_log. See Github #12