... | ... | @@ -6,9 +6,9 @@ it could lead to an strange behaviour with page being displayed twice. |
|
|
|
|
|
This is because the error in conditionnals inside one node raise an error, and that this error is sent after headers are sent (something quite as strange as https://drupal.stackexchange.com/questions/23983/drupal-add-js-causes-blocks-to-be-executed-twice )
|
|
|
|
|
|
Not enough time to fix this properly, but we can easily raise a warning to tell admin which node is affected :
|
|
|
Not enough time to fix this properly, but we can easily raise a warning to tell admin which node is affected :
|
|
|
|
|
|
in `sites/all/modules/webform/include/webforms.conditionnals.inc (line 134) :
|
|
|
in `sites/all/modules/webform/include/webforms.conditionnals.inc (line 134) :
|
|
|
|
|
|
BEFORE
|
|
|
```php
|
... | ... | @@ -26,4 +26,4 @@ AFTER |
|
|
}
|
|
|
|
|
|
$source_pid = $source_component['pid'];
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
``` |