mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Add additional entropy to postLink()
This should help make more uniq id's for postLinks that are created sequentially. Fixes #3807
This commit is contained in:
parent
41d124d4de
commit
df8f5e8f84
1 changed files with 1 additions and 1 deletions
|
@ -1749,7 +1749,7 @@ class FormHelper extends AppHelper {
|
||||||
unset($options['confirm']);
|
unset($options['confirm']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$formName = uniqid('post_');
|
$formName = str_replace('.', '', uniqid('post_', true));
|
||||||
$formUrl = $this->url($url);
|
$formUrl = $this->url($url);
|
||||||
$formOptions = array(
|
$formOptions = array(
|
||||||
'name' => $formName,
|
'name' => $formName,
|
||||||
|
|
Loading…
Reference in a new issue