cvs: pecl(BRANCH_1_1_1) /sdo/SCA SDO_TypeHandler.php
| From: | Simon Laws | Date: | Thu, 07 Dec 2006 11:39:56 +0000 |
| Subject: | cvs: pecl(BRANCH_1_1_1) /sdo/SCA SDO_TypeHandler.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6762@lists.php.net to get a copy of this message | ||
slaws Thu Dec 7 11:39:56 2006 UTC
Modified files: (Branch: BRANCH_1_1_1)
/pecl/sdo/SCA SDO_TypeHandler.php
Log:
Update namespace and type separator from : to #
PECL9569
http://cvs.php.net/viewvc.cgi/pecl/sdo/SCA/SDO_TypeHandler.php?r1=1.2&r2=1.2.2.1&diff_format=u
Index: pecl/sdo/SCA/SDO_TypeHandler.php
diff -u pecl/sdo/SCA/SDO_TypeHandler.php:1.2 pecl/sdo/SCA/SDO_TypeHandler.php:1.2.2.1
--- pecl/sdo/SCA/SDO_TypeHandler.php:1.2 Fri Nov 24 10:44:05 2006
+++ pecl/sdo/SCA/SDO_TypeHandler.php Thu Dec 7 11:39:56 2006
@@ -22,7 +22,7 @@
| Chris Miller. |
| |
+-----------------------------------------------------------------------------+
-$Id: SDO_TypeHandler.php,v 1.2 2006/11/24 10:44:05 cem Exp $
+$Id: SDO_TypeHandler.php,v 1.2.2.1 2006/12/07 11:39:56 slaws Exp $
*/
if ( ! class_exists('SDO_TypeHandler', false) ) {
@@ -215,7 +215,7 @@
if ($words[0] !== '-') break;
$namespace_and_type_in_parens = $words[2];
$namespace_and_type = substr($namespace_and_type_in_parens, 1,
strlen($namespace_and_type_in_parens)-2);
- $pos_last_colon = strrpos($namespace_and_type, ':');
+ $pos_last_colon = strrpos($namespace_and_type, '#');
$namespace = substr($namespace_and_type, 0, $pos_last_colon);
$type = substr($namespace_and_type, $pos_last_colon+1);
$types[] = array($namespace, $type);