View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001740 | OXID eShop (all versions) | 4.03. 3rd party libraries | public | 2010-04-01 12:37 | 2010-04-26 14:27 |
| Reporter | vilma_liorensaityte | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.3.0 revision 26948 | ||||
| Fixed in Version | 4.3.1 revision 27257 | ||||
| Summary | 0001740: Warnings about "deprecated functions" occurs from PHP 5.3 because function in ccval | ||||
| Description | In ccval script there is function used ereg_replace(), which is deprecated since PHP 5.3.0. Calling this function issues an E_DEPRECATED notice. Solution would be: - Replace this function to alternative function preg_replace(). | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | 6 | ||||
| Database Version | any | ||||
|
|
Decision from PM: As it's an component which OXID eShop is using this is not allowed to be changed (see also /core/3RD_PARTY_LICENSES), use Luhn algorithm http://en.wikipedia.org/wiki/Luhn_algorithm [^] instead. Consider also Terms of Use: http://wikimediafoundation.org/wiki/Terms_of_Use [^] |
|
|
function CCVal() replaced by oxCcValidator::isValidCard( $sNumber, $sType = "", $sDate = "" ) |