From b1df56a83cc326018636dc13dc5f64b8166e219b Mon Sep 17 00:00:00 2001
From: Tim Plunkett <git@plnktt.com>
Date: Tue, 22 Mar 2011 10:31:21 -0400
Subject: [PATCH] Issue #1101476 by tim.plunkett: Fixed passing by reference error.

---
 book_made_simple.module |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/book_made_simple.module b/book_made_simple.module
index 533c19f..1f24da4 100644
--- a/book_made_simple.module
+++ b/book_made_simple.module
@@ -526,7 +526,7 @@ function book_made_simple_theme()
 *   Html code to display allowed child type
 */
 
-function theme_add_child_book_content_types($allowedTypes, &$node)
+function theme_add_child_book_content_types($allowedTypes, $node)
 {
 	return "";
 }
@@ -534,7 +534,7 @@ function theme_add_child_book_content_types($allowedTypes, &$node)
 * Display alloawed child type as dropdown listbox.
 */
 
-function book_made_simple_add_child_book_content_types_ddlist($allowedTypes, &$node)
+function book_made_simple_add_child_book_content_types_ddlist($allowedTypes, $node)
 {
 	$child_type = variable_get('book_child_type', 'book');
 	$html = "<option value='" . str_replace('_', '-', $child_type) . "'>" . t("Add child page") . "</option>";
-- 
1.7.3.2

