Needs review
Project:
Ubercart Auction
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 16:57 UTC
Updated:
1 Dec 2011 at 16:57 UTC
Hi.
When user use preview button in auction/product_node_form field values aren't remembered.
The fix for Expiration date & time in uc_auction.module on line 140, other fields should have similar solutions:
if ($form_state['values']['expiry']) {
$expiry = strtotime($form_state['values']['expiry']);
} else {
$expiry = time() + 604800;
}
instead of
$expiry = time() + 604800;