Index: lib/class.tx_commerce_ccvs_lib.php =================================================================== --- lib/class.tx_commerce_ccvs_lib.php (revision 44190) +++ lib/class.tx_commerce_ccvs_lib.php (working copy) @@ -247,7 +247,7 @@ $Number = substr($Number, 0, 30); /* Remove non-numeric characters. */ - $this->CCVSNumber = ereg_replace('[^0-9]', '', $Number); + $this->CCVSNumber = preg_replace('/[^0-9]/', '', $Number); /* Set up variables. */ @@ -429,7 +429,7 @@ return FALSE; } - if ( !ereg('^(0?[1-9]|1[0-2])$', $Month) ) { + if ( !preg_match('/^(0?[1-9]|1[0-2])$/', $Month) ) { $this->CCVSError = $CCVSErrMonthFormat; return FALSE; } @@ -439,7 +439,7 @@ return FALSE; } - if ( !ereg('^[0-9]{4}$', $Year) ) { + if ( !preg_match('/^[0-9]{4}$/', $Year) ) { $this->CCVSError = $CCVSErrYearFormat; return FALSE; } Index: lib/class.tx_commerce_div.php =================================================================== --- lib/class.tx_commerce_div.php (revision 44190) +++ lib/class.tx_commerce_div.php (working copy) @@ -288,7 +288,7 @@ $mailconf['recipient'] = tx_commerce_div::validEmailList($mailconf['recipient']); if ($mailconf['recipient']) { - $parts = spliti('|', $mailconf['html']['content'], 3); + $parts = preg_split('/|<\/title>/i', $mailconf['html']['content'], 3); if (trim($parts[1])) { $subject = strip_tags(trim($parts[1])); Index: pi3/class.tx_commerce_pi3.php =================================================================== --- pi3/class.tx_commerce_pi3.php (revision 44190) +++ pi3/class.tx_commerce_pi3.php (working copy) @@ -1955,7 +1955,7 @@ $userMail = tx_commerce_div::validEmailList($userMail); - if ($userMail && !eregi("\r", $userMail) && !eregi("\n", $userMail)) { + if ($userMail && !preg_match("/\r/i", $userMail) && !preg_match("/\n/i", $userMail)) { foreach($hookObjectsArr as $hookObj) { if (method_exists($hookObj, 'getUserMail')) { $hookObj->getUserMail($userMail, $orderUid, $orderData);