Skip to content

Commit

Permalink
Corrected broken spelling of a preg_match call
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Jul 25, 2011
1 parent c1fdbf9 commit d94b862
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions subsystems/webservices/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3475,8 +3475,7 @@ function start_element($parser, $name, $attrs)
$this->message[$pos] = array('cdata' => '');
// get element prefix
// if (ereg(':', $name)) {
if (preg_m
(':', $name)) {
if (preg_match(':', $name)) {
// get ns prefix
$prefix = substr($name, 0, strpos($name, ':'));
// get ns
Expand Down

0 comments on commit d94b862

Please sign in to comment.