Skip to content
Snippets Groups Projects
Commit d2331ebd authored by Angie Byron's avatar Angie Byron
Browse files

#324880: SA-2008-067 (#324824): Fix XSS vulberability in book administration page.

parent 4e369a6b
No related branches found
No related tags found
No related merge requests found
......@@ -173,8 +173,8 @@ function _book_admin_table($node, &$form) {
* @see book_admin_edit()
*/
function _book_admin_table_tree($tree, &$form) {
foreach ($tree as $key => $data) {
$form[$key] = array(
foreach ($tree as $data) {
$form['book-admin-' . $data['link']['nid']] = array(
'#item' => $data['link'],
'nid' => array('#type' => 'value', '#value' => $data['link']['nid']),
'depth' => array('#type' => 'value', '#value' => $data['link']['depth']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment