Fix undefined variable error in daily summary
Update to version v698