cvs: pear /MDB2 MDB2.php
| From: | Lukas Smith | Date: | Sun, 19 Mar 2006 14:34:05 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39192@lists.php.net to get a copy of this message | ||
lsmith Sun Mar 19 14:34:05 2006 UTC
Modified files:
/pear/MDB2 MDB2.php
Log:
- allow $ in sequence names
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2.php?r1=1.176&r2=1.177&diff_format=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.176 pear/MDB2/MDB2.php:1.177
--- pear/MDB2/MDB2.php:1.176 Fri Mar 17 17:28:50 2006
+++ pear/MDB2/MDB2.php Sun Mar 19 14:34:05 2006
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.176 2006/03/17 17:28:50 lsmith Exp $
+// $Id: MDB2.php,v 1.177 2006/03/19 14:34:05 lsmith Exp $
//
/**
@@ -2521,7 +2521,7 @@
function getSequenceName($sqn)
{
return sprintf($this->options['seqname_format'],
- preg_replace('/[^a-z0-9_.]/i', '_', $sqn));
+ preg_replace('/[^a-z0-9_\$.]/i', '_', $sqn));
}
// }}}