Bug #3448 ยป 3448.patch
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;
|