diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 8690b5c7c6e..a964d66dfbe 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -353,7 +353,7 @@ public function create($model = null, $options = array()) { } $options = array_merge(array( - 'type' => ($created && empty($options['action'])) ? 'put' : 'post', + 'type' => ($created && (empty($options['action']) || empty($options['url']))) ? 'put' : 'post', 'action' => null, 'url' => null, 'default' => true,