Issue #2080411 by mrsinguyen: Remove Unused local variable from /core/modules/book/book.module.
parent
5538c4ce51
commit
910165f2df
|
@ -392,7 +392,7 @@ function book_next($book_link) {
|
|||
$flat = book_get_flat_menu($book_link);
|
||||
// Assigning the array to $flat resets the array pointer for use with each().
|
||||
do {
|
||||
list($key, $curr) = each($flat);
|
||||
list($key, ) = each($flat);
|
||||
}
|
||||
while ($key && $key != $book_link['mlid']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue