Révision c5920ca5
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/webform/webform.module | ||
---|---|---|
636 | 636 |
|
637 | 637 |
// If access is granted via a token, then allow subsequent submission access |
638 | 638 |
// for anonymous users. |
639 |
if (!$user->uid && $token_access) {
|
|
639 |
if (!$account->uid && $token_access) {
|
|
640 | 640 |
$_SESSION['webform_submission'][$submission->sid] = $node->nid; |
641 | 641 |
} |
642 | 642 |
|
... | ... | |
1567 | 1567 |
} |
1568 | 1568 |
|
1569 | 1569 |
// Flush the block cache if creating a block. |
1570 |
if (function_exists('block_flush_caches') && $node->webform['block']) {
|
|
1570 |
if (module_exists('block') && $node->webform['block']) {
|
|
1571 | 1571 |
block_flush_caches(); |
1572 | 1572 |
} |
1573 | 1573 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules