Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
2d874ba4
Commit
2d874ba4
authored
Jan 08, 2013
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nit from daily PHP error report.
parent
b56bdb71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
www/modnodeattributes.php3
www/modnodeattributes.php3
+3
-2
No files found.
www/modnodeattributes.php3
View file @
2d874ba4
<?php
#
# Copyright (c) 2000-20
07
University of Utah and the Flux Group.
# Copyright (c) 2000-20
13
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -84,7 +84,8 @@ $del_command_string = "";
# different than the current value before adding them to the command string.
if
(
isset
(
$_modattrs
))
{
foreach
(
$_modattrs
as
$attrkey
=>
$attrval
)
{
if
(
$cur_node_attrs
[
$attrkey
]
!=
$attrval
)
{
if
(
!
array_key_exists
(
$attrkey
,
$cur_node_attrs
)
||
$cur_node_attrs
[
$attrkey
]
!=
$attrval
)
{
$mod_command_string
.
=
"
$attrkey
='
$attrval
' "
;
}
}
...
...
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