Project

General

Profile

Bug #3448 ยป 3448.patch

krileon, 18 April 2012 18:47

View differences:

components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php
$fieldForm = str_replace( 'y', 'Y', $ueConfig['date_format'] );
$value = dateConverter( stripslashes( $value ), $fieldForm, $sqlFormat );
if ( ! preg_match( '/[0-9]{4}-[01][0-9]-[0-3][0-9]/', $value ) ) {
$value = '';
$value = '0000-00-00';
}
}
return $value;
    (1-1/1)