mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-30 02:46:19 -04:00
Revert "Eliminate temporary variables by passing the $item into the view and"
This reverts commit 1a587fd016.
This commit is contained in:
@@ -27,7 +27,9 @@ class Server_Add_Controller extends Controller {
|
||||
|
||||
$item = ORM::factory("item", $id);
|
||||
$view = new View("server_add_tree_dialog.html");
|
||||
$view->item = $item;
|
||||
$view->action = url::abs_site("__ARGS__/{$id}__TASK_ID__?csrf=" . access::csrf_token());
|
||||
$view->parents = $item->parents();
|
||||
$view->album_title = $item->title;
|
||||
|
||||
$tree = new View("server_add_tree.html");
|
||||
$tree->data = array();
|
||||
|
||||
Reference in New Issue
Block a user