Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-plugins
Commits
89d735e5
Verified
Commit
89d735e5
authored
6 years ago
by
Côme Chilliet
Browse files
Options
Download
Patches
Plain Diff
fix(argonaut) Fix crash when dns plugin is missing
issue
#5935
parent
880d4fbf
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
argonaut/admin/systems/services/argonaut/class_argonautDNSConfig.inc
+5
-1
...min/systems/services/argonaut/class_argonautDNSConfig.inc
with
5 additions
and
1 deletion
+5
-1
argonaut/admin/systems/services/argonaut/class_argonautDNSConfig.inc
+
5
−
1
View file @
89d735e5
...
...
@@ -148,7 +148,11 @@ class argonautDNSConfig extends simpleService
{
global
$config
;
$attributesInfo
=
$this
->
getAttributesInfo
();
$zones
=
objects
::
ls
(
'dnsZone'
,
NULL
,
NULL
,
''
,
TRUE
);
try
{
$zones
=
objects
::
ls
(
'dnsZone'
,
NULL
,
NULL
,
''
,
TRUE
);
}
catch
(
NonExistingObjectTypeException
$e
)
{
$zones
=
array
();
}
if
(
!
empty
(
$zones
))
{
$attributes
=
$attributesInfo
[
'slave'
][
'attrs'
][
0
]
->
attribute
->
attributes
;
$attributes
[
0
]
=
new
SelectAttribute
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets