Skip to content

Commit

Permalink
Include the correct file. Tweak $action.
Browse files Browse the repository at this point in the history
Signed-off-by: Norv <a.w.norv@gmail.com>
  • Loading branch information
norv committed Jul 17, 2013
1 parent c146fc8 commit 691edbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/admin/PackageServers.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function action_index()

// Set up action/subaction stuff.
$action = new Action();
$action->initialize($subActions);
$action->initialize($subActions, 'servers');

$context['sub_action'] = $subAction;

Expand Down Expand Up @@ -681,7 +681,7 @@ public function action_remove()
{
checkSession('get');

require_once(SUBSDIR . '/PackageServer.subs.php');
require_once(SUBSDIR . '/PackageServers.subs.php');

// We no longer browse this server.
$_GET['server'] = (int) $_GET['server'];
Expand Down

0 comments on commit 691edbe

Please sign in to comment.