# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php +++ components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php @@ -1623,7 +1623,7 @@ $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 = ''; \ No newline at end of file + $value = '0000-00-00'; \ No newline at end of file } } return $value;