Skip to content

Commit

Permalink
split() is deprecated, using explode() instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Cope committed May 13, 2014
1 parent 23e2159 commit b2ac010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vatValidation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private function cleanUpString($string) {
}

$newString = "";
$words = split(" ",$string);
$words = explode(" ",$string);
foreach($words as $k=>$w)
{
$newString .= ucfirst(strtolower($w))." ";
Expand All @@ -95,4 +95,4 @@ private function cleanUpString($string) {
}
}

?>
?>

0 comments on commit b2ac010

Please sign in to comment.