Skip to content

Commit

Permalink
Don't wrap the action in url::site() -- form::open() will do that for…
Browse files Browse the repository at this point in the history
… us. Fixes #1417.
  • Loading branch information
bharat committed Oct 4, 2010
1 parent 6decb90 commit df378fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/libraries/InPlaceEdit.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function validate() {

public function render() {
$v = new View("in_place_edit.html");
$v->action = url::site($this->action);
$v->action = $this->action;
$v->form = $this->form;
$v->errors = $this->errors;
foreach ($v->errors as $key => $error) {
Expand Down

0 comments on commit df378fc

Please sign in to comment.