mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Fix for ticket #200. When an error occurs the current uri is no
longer admin/server_add but admin/server_add/add_path and the equality check fails.
This commit is contained in:
@@ -51,7 +51,7 @@ class Admin_Server_Add_Controller extends Admin_Controller {
|
||||
|
||||
$view = new Admin_View("admin.html");
|
||||
$view->content = new View("admin_server_add.html");
|
||||
$view->content->form = $form->render();
|
||||
$view->content->form = $form;
|
||||
$view->content->paths = array_keys($paths);
|
||||
print $view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user