[drupal-devel] [bug] book admin broken under php5

killes drupal-devel at drupal.org
Sun Apr 24 20:46:20 UTC 2005


Issue status update for http://drupal.org/node/21195

 Project:      Drupal
 Version:      4.6.0
 Component:    book.module
 Category:     bug reports
-Priority:     critical
+Priority:     normal
-Assigned to:  Anonymous
+Assigned to:  killes at www.drop.org
 Reported by:  kevin lapalme
 Updated by:   killes at www.drop.org
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/book_29.patch (758 bytes)

Here is a proper patch. Should be applied to cvs and 4.6




killes at www.drop.org



Previous comments:
------------------------------------------------------------------------

April 24, 2005 - 03:55 : kevin lapalme

[function.array-merge]: Argument #2 is not an array in
/home/.../public_html/modules/book.module on line 697.




------------------------------------------------------------------------

April 24, 2005 - 04:09 : kevin lapalme

if you change line 697 to:


    $rows[] .= array_merge($rows, book_admin_view_book($node->nid,
$depth + 1));


from:


    $rows = array_merge($rows, book_admin_view_book($node->nid, $depth
+ 1));


it fixes it.







More information about the drupal-devel mailing list