Skip to content

Commit

Permalink
pkp/pkp-lib#4713: Update default search date for Smarty 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctgraham authored and asmecher committed May 1, 2019
1 parent eee3279 commit 642655d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/search/SearchHandler.inc.php
Expand Up @@ -67,7 +67,7 @@ function _assignSearchFilters($request, &$templateMgr, $searchFilters) {
$day = $request->getUserVar("date${fromTo}Day");
$year = $request->getUserVar("date${fromTo}Year");
if (empty($year)) {
$date = '--';
$date = NULL;
$hasEmptyFilters = true;
} else {
$defaultMonth = ($fromTo == 'From' ? 1 : 12);
Expand Down

0 comments on commit 642655d

Please sign in to comment.