Skip to content

Commit

Permalink
Fixing the postLink url when the application is not in root path.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Jan 19, 2011
1 parent 23dce83 commit f73c4f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cake/libs/view/helpers/form.php
Expand Up @@ -1325,7 +1325,6 @@ public function postLink($title, $url = null, $options = array(), $confirmMessag
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'])) {
Expand Down

0 comments on commit f73c4f3

Please sign in to comment.