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
19fd4a07
Commit
19fd4a07
authored
Apr 02, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: usual isset() woes
parent
2dc29128
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
rc.update_urltables
src/etc/rc.update_urltables
+1
-1
guiconfig.inc
src/www/guiconfig.inc
+1
-1
system_firmware_check.php
src/www/system_firmware_check.php
+2
-0
No files found.
src/etc/rc.update_urltables
View file @
19fd4a07
...
@@ -5,7 +5,7 @@ require_once("config.inc");
...
@@ -5,7 +5,7 @@ require_once("config.inc");
require_once
(
"util.inc"
);
require_once
(
"util.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
if
(
!
is
_array
(
$config
[
'aliases'
][
'alias'
]))
{
if
(
!
is
set
(
$config
[
'aliases'
][
'alias'
]))
{
// No aliases
// No aliases
exit
;
exit
;
}
}
...
...
src/www/guiconfig.inc
View file @
19fd4a07
...
@@ -1054,7 +1054,7 @@ function alias_info_popup($alias_id){
...
@@ -1054,7 +1054,7 @@ function alias_info_popup($alias_id){
function
rule_popup
(
$src
,
$srcport
,
$dst
,
$dstport
){
function
rule_popup
(
$src
,
$srcport
,
$dst
,
$dstport
){
global
$config
,
$g
;
global
$config
,
$g
;
$aliases_array
=
array
();
$aliases_array
=
array
();
if
(
$config
[
'aliases'
][
'alias'
]
<>
""
and
is_array
(
$config
[
'aliases'
][
'alias'
]))
{
if
(
isset
(
$config
[
'aliases'
][
'alias'
]))
{
$descriptions
=
array
();
$descriptions
=
array
();
foreach
(
$config
[
'aliases'
][
'alias'
]
as
$alias_id
=>
$alias_name
){
foreach
(
$config
[
'aliases'
][
'alias'
]
as
$alias_id
=>
$alias_name
){
//$loading_image="<a><img src=\'/themes/{$g['theme']}/images/misc/loader.gif\' alt=\'loader\' /> " .gettext("loading...")."</a>";
//$loading_image="<a><img src=\'/themes/{$g['theme']}/images/misc/loader.gif\' alt=\'loader\' /> " .gettext("loading...")."</a>";
...
...
src/www/system_firmware_check.php
View file @
19fd4a07
...
@@ -139,6 +139,7 @@ include("head.inc");
...
@@ -139,6 +139,7 @@ include("head.inc");
</div>
</div>
</td>
</td>
</tr>
</tr>
<?php
if
(
file_exists
(
$file_pkg_status
))
{
?>
<tr>
<tr>
</tr>
</tr>
<tr>
<tr>
...
@@ -199,6 +200,7 @@ include("head.inc");
...
@@ -199,6 +200,7 @@ include("head.inc");
</div>
</div>
</td>
</td>
</tr>
</tr>
<?php
}
// endif ?>
</
table
>
</
table
>
</
div
>
</
div
>
...
...
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