mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 02:26:17 +00:00
Fixing the postLink url when the application is not in root path.
This commit is contained in:
parent
23dce83836
commit
f73c4f38d5
1 changed files with 0 additions and 1 deletions
|
@ -1325,7 +1325,6 @@ class FormHelper extends AppHelper {
|
|||
unset($options['confirm']);
|
||||
}
|
||||
|
||||
$url = $this->url($url);
|
||||
$formName = uniqid('post_');
|
||||
$out = $this->create(false, array('url' => $url, 'name' => $formName, 'id' => $formName, 'style' => 'display:none;'));
|
||||
if (isset($options['data']) && is_array($options['data'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue