Fixed a time() function call.