Commit 9d564fc5 authored by git's avatar git Committed by Peter Droogmans
Browse files

Issue #2114207 by thekatic: Fixed Notice when in Read only mode.

parent c03efa3e
......@@ -138,7 +138,7 @@ function clientside_validation_webform_after_build_recurse($form_id, &$form, &$f
*/
function clientside_validation_webform_add_webform_validation($form_id, &$form, &$form_state, &$js_rules) {
if ($webform_validation_rules = _clientside_validation_webform_webform_validation($form_state['values']['details']['nid'], $form)) {
if (isset($form_state['values']['details']) && $webform_validation_rules = _clientside_validation_webform_webform_validation($form_state['values']['details']['nid'], $form)) {
$checkboxrules = array();
foreach ($webform_validation_rules as $webform_validation_rule) {
$negate = isset($webform_validation_rule['negate']) && $webform_validation_rule['negate'];
......
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