Commit 04117ccd authored by pcambra's avatar pcambra Committed by m.stenta
Browse files

Issue #3167416 by pcambra: field_attach_validate not called for log entitis

parent 896c0c7f
......@@ -210,6 +210,8 @@ function log_form(array $form, array &$form_state, Log $log) {
* The form state array.
function log_form_validate(array $form, array &$form_state) {
$log = (object) $form_state['values']['log'];
field_attach_form_validate('log', $log, $form, $form_state);
// If a new log is marked "done", but the timestamp is in the future, display
// a warning, but allow the user to continue if they submit the form again.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment