Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
37a342a1
Commit
37a342a1
authored
Mar 28, 2007
by
Russ Fish
Browse files
Don't let it die with an undefined attributes array.
parent
1b579579
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/editnodetype.php3
View file @
37a342a1
...
...
@@ -32,6 +32,10 @@ $optargs = OptionalPageArguments("submit", PAGEARG_STRING,
"newattribute_name"
,
PAGEARG_STRING
,
"newattribute_value"
,
PAGEARG_STRING
);
if
(
!
isset
(
$attributes
))
{
$attributes
=
array
();
}
# This belongs elsewhere!
$initial_attributes
=
array
(
array
(
"attrkey"
=>
"adminmfs_osid"
,
"attrvalue"
=>
"FREEBSD-MFS"
,
...
...
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!
Cancel
Please
register
or
sign in
to comment