From 15a00b4be0deccd9f7a4a2dce9e85d951b7fcdaf Mon Sep 17 00:00:00 2001 From: tjhunt <tjhunt> Date: Wed, 15 Jul 2009 08:55:52 +0000 Subject: [PATCH] blocks editing ui: MDL-19398 Remove stupid pass by reference. Was causing errors when this method was called via block_method_result --- blocks/moodleblock.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 60f4ca6a56..58c7125b44 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -646,7 +646,7 @@ class block_base { * @return boolean * @todo finish documenting this function */ - function user_can_addto(&$page) { + function user_can_addto($page) { return true; } -- 2.39.5