Skip to content

Commit

Permalink
Fix typos (and lots of warnings in log file)
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Jan 12, 2024
1 parent 467e208 commit f358858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/site/edithtml.php
Expand Up @@ -33,7 +33,7 @@ function get_children ($parent_id, $lookup, $column, $type) {
return $children;
}
foreach ($lookup[$parent_id]['children'] as $node) {
$children[] = array(name => $node[$column], value => $node[$column], children => get_children($node[$type], $lookup, $column, $type));
$children[] = array('name' => $node[$column], 'value' => $node[$column], 'children' => get_children($node[$type], $lookup, $column, $type));
}
return $children;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/xerte/edithtml.php
Expand Up @@ -35,7 +35,7 @@ function get_children ($parent_id, $lookup, $column, $type) {
return $children;
}
foreach ($lookup[$parent_id]['children'] as $node) {
$children[] = array(name => $node[$column], value => $node[$column], children => get_children($node[$type], $lookup, $column, $type));
$children[] = array('name' => $node[$column], 'value' => $node[$column], 'children' => get_children($node[$type], $lookup, $column, $type));
}
return $children;
}
Expand Down

0 comments on commit f358858

Please sign in to comment.