After viewing a "Printer-friendly version" of a book page, the following notices appear on the next page load:
* notice: Undefined variable: output in \modules\book\book.module on line 805.
* notice: Undefined variable: output in \modules\book\book.module on line 748.
* notice: Undefined variable: output in \modules\book\book.module on line 805.
* notice: Undefined variable: output in \modules\book\book.module on line 748.
* notice: Undefined variable: content in \modules\book\book.module on line 688.
* notice: Use of undefined constant LANGUAGE_RTL - assumed 'LANGUAGE_RTL' in \modules\book\book.module on line 712.
The "Printer-friendly version" also loads both the regular and RTL stylesheets (consequently the page is right aligned), likely due to the last of the notices.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | patch_142.txt | 1.86 KB | webernet |
Comments
Comment #1
keith.smith commentedA portion of this (Undefined constant LANGUAGE_RTL) came up in http://drupal.org/node/146425 ; I think a fix [for at least a bit of this] is included in that patch.
Comment #2
webernet commentedAttached patch fixes all the notices.
Comment #3
dmitrig01 commentedits ready
Comment #4
dries commentedCommitted to CVS HEAD.
Comment #5
(not verified) commented