Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Efnilite committed Sep 30, 2024
1 parent 6d002fb commit 397152e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public class ExprDateAgoLater extends SimpleExpression<Date> {
public boolean init(Expression<?>[] expressions, int matchedPattern,
Kleenean isDelayed, ParseResult parseResult) {
timespanExpr = (Expression<Timespan>) expressions[0];
if (dateExpr != null)
dateExpr = (Expression<Date>) expressions[1];
dateExpr = (Expression<Date>) expressions[1];

ago = matchedPattern == 0;
return true;
Expand Down

0 comments on commit 397152e

Please sign in to comment.