Commit d2331ebd authored by webchick's avatar webchick
Browse files

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

parent 4e369a6b
......@@ -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']),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment