Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
b06e42ae
Commit
b06e42ae
authored
Nov 20, 2015
by
Frédéric LIETART (TheLinuxFr)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix thx @fichtner
parent
98678fb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
FirmwareController.php
.../app/controllers/OPNsense/Core/Api/FirmwareController.php
+4
-2
No files found.
src/opnsense/mvc/app/controllers/OPNsense/Core/Api/FirmwareController.php
View file @
b06e42ae
...
...
@@ -64,8 +64,10 @@ class FirmwareController extends ApiControllerBase
$response
[
'status_upgrade_action'
]
=
'pkg'
;
$response
[
'status'
]
=
'ok'
;
$response
[
'status_msg'
]
=
gettext
(
'There is a mandatory update for the package manager available. '
)
.
gettext
(
'Please install and fetch updates again.'
);
gettext
(
'There is a mandatory update for the package manager available. '
.
'Please install and fetch updates again.'
);
}
elseif
(
array_key_exists
(
'updates'
,
$response
))
{
$response
[
'status_upgrade_action'
]
=
'all'
;
$response
[
'status'
]
=
'ok'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment