From f73c4f38d525116f2b644712fee65d1d31c497d0 Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Tue, 18 Jan 2011 23:39:05 -0200 Subject: [PATCH] Fixing the postLink url when the application is not in root path. --- cake/libs/view/helpers/form.php | 1 - 1 file changed, 1 deletion(-) diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index ab56d4e3ae3..f397c670d52 100644 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -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'])) {