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.

CommentFileSizeAuthor
#2 patch_142.txt1.86 KBwebernet

Comments

keith.smith’s picture

A 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.

webernet’s picture

Status: Active » Needs review
StatusFileSize
new1.86 KB

Attached patch fixes all the notices.

dmitrig01’s picture

Status: Needs review » Reviewed & tested by the community

its ready

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)