-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I'm getting an exception A non well formed numeric value encountered when trying to save an updated answer.
Looks like it's coming from this line in inc/Handle.php (line 181 in master).
$this->update_modified_date( $question_id , current_time( 'sql', 0 ), current_time( 'sql', 1 ) );
Instead of sql, shouldn't it be timestamp? It looks like current_time only accepts timestamp or mysql as an option, otherwise it falls back to treating that string as a date formatting string. If it's mysql it tries to format the date twice. I switched it to timestamp and it appears to be working correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels