- $Lang->{Start_Incr_Backup} => "StartStopBackup",
- $Lang->{Start_Full_Backup} => "StartStopBackup",
- $Lang->{Stop_Dequeue_Backup} => "StartStopBackup",
- $Lang->{Stop_Dequeue_Archive} => "StartStopBackup",
+ "Start_Incr_Backup" => "StartStopBackup",
+ "Start_Full_Backup" => "StartStopBackup",
+ "Stop_Dequeue_Backup" => "StartStopBackup",
+ "Stop_Dequeue_Archive" => "StartStopBackup",
"queue" => "Queue",
"view" => "View",
"LOGlist" => "LOGlist",
"emailSummary" => "EmailSummary",
"browse" => "Browse",
"dirHistory" => "DirHistory",
"queue" => "Queue",
"view" => "View",
"LOGlist" => "LOGlist",
"emailSummary" => "EmailSummary",
"browse" => "Browse",
"dirHistory" => "DirHistory",
"RestoreFile" => "RestoreFile",
"hostInfo" => "HostInfo",
"generalInfo" => "GeneralInfo",
"restoreInfo" => "RestoreInfo",
"archiveInfo" => "ArchiveInfo",
"RestoreFile" => "RestoreFile",
"hostInfo" => "HostInfo",
"generalInfo" => "GeneralInfo",
"restoreInfo" => "RestoreInfo",
"archiveInfo" => "ArchiveInfo",
"Archive" => "Archive",
"Reload" => "ReloadServer",
"startServer" => "StartServer",
"Stop" => "StopServer",
"adminOpts" => "AdminOptions",
"Archive" => "Archive",
"Reload" => "ReloadServer",
"startServer" => "StartServer",
"Stop" => "StopServer",
"adminOpts" => "AdminOptions",
-$In{action} ||= "hostInfo" if ( defined($In{host}) );
-$In{action} = "generalInfo" if ( !defined($ActionDispatch{$In{action}}) );
-my $action = $ActionDispatch{$In{action}};
+if ( !defined($ActionDispatch{$In{action}}) ) {
+ $In{action} = defined($In{host}) ? "hostInfo" : "generalInfo";
+}
+my $action = $ActionDispatch{$In{action}};