i don't have a testing thing locally so i'm flooding with commits sorry

This commit is contained in:
Matthew Connelly 2015-11-14 06:38:45 +00:00
parent c9889911bb
commit b357de7371
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ sub GetPaste {
return schema->resultset('Paste')->single( {
[ -and =>
{ id => $id },
{ expiration => { '>=' => DateTimeToQueryable() }, expiration => undef }
{ expiration => { '>=' => DateTimeToQueryable(), undef} }
] } ) || undef;
}
sub StorePaste {