summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/movies.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-08-01 08:31:09 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-08-01 08:31:09 -0700
commita4531707274318496bb7a4477d940030d870f133 (patch)
tree6715be3db83d7f834676a0b2c7a38c9bd58ce1a5 /modules/gallery/controllers/movies.php
parentfc580037e797fad48b49fcffa7aa69dca8761972 (diff)
parent7607e1f932dda53144792d0b7e8674a34fbc7f9a (diff)
Merge branch 'dialog' of github.com:gallery/gallery3 into dialog
Diffstat (limited to 'modules/gallery/controllers/movies.php')
-rw-r--r--modules/gallery/controllers/movies.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/movies.php b/modules/gallery/controllers/movies.php
index fe6669e6..02d2a497 100644
--- a/modules/gallery/controllers/movies.php
+++ b/modules/gallery/controllers/movies.php
@@ -93,7 +93,7 @@ class Movies_Controller extends Items_Controller {
json::reply(array("result" => "success"));
}
} else {
- json::reply(array("result" => "error", "form" => (string) $form));
+ json::reply(array("result" => "error", "html" => (string) $form));
}
}
@@ -102,6 +102,6 @@ class Movies_Controller extends Items_Controller {
access::required("view", $movie);
access::required("edit", $movie);
- json::reply(array("form" => (string) movie::get_edit_form($movie)));
+ print movie::get_edit_form($movie);
}
}