# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # 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 @@ -1596,10 +1596,10 @@ if ( $minVal && ( $minVal !== '0000-00-00' ) ) { $query[] = $this->_dateToSql( $field, $col, $minVal, '>=', $searchMode ); // Finally store the selected drop-down values so they can be pre-selected on display: - $searchVals->$minNam = $minValIn; + $searchVals->$minNam = cbFormatDate( $minValIn ); if ( ( ! $maxVal ) && $maxValIn ) { - $searchVals->$maxNam = $maxValIn; + $searchVals->$maxNam = cbFormatDate( $maxValIn ); } } @@ -1610,10 +1610,10 @@ } // Finally store the selected drop-down values so they can be pre-selected on display: if ( ( ! $minVal ) && $minValIn ) { - $searchVals->$minNam = $minValIn; + $searchVals->$minNam = cbFormatDate( $minValIn ); } - $searchVals->$maxNam = $maxValIn; \ No newline at end of file + $searchVals->$maxNam = cbFormatDate( $maxValIn ); \ No newline at end of file } } }