Bug 8128 - can't seem to run new sql reports
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 May 2012 19:01:45 +0000 (15:01 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 24 May 2012 13:48:37 +0000 (15:48 +0200)
commit65129084ef2bdc5c4a9dea4f98480b30fc646d98
treeb1f2eddf852bc966fdd7833206049ad774b796e3
parent4533ff7dd3be3ae76efaf91c29e8d510c8f8bff5
Bug 8128 - can't seem to run new sql reports

Reports cannot be saved because saved_sql.cache_expiry cannot be null.
Fixed by setting default to 0 if a cache_expiry value is not
passed into the function.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
passes t xt

Verified original bug, patch resolves issue.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Reports/Guided.pm