From: skodak Date: Sun, 8 Oct 2006 08:44:32 +0000 (+0000) Subject: Error when adding Recent activity as a sticky block MDL-6801 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b15d469ec26719e3f64b489a8b2590f3bd4f1a27;p=moodle.git Error when adding Recent activity as a sticky block MDL-6801 --- diff --git a/admin/stickyblocks.php b/admin/stickyblocks.php index 23f801a3c6..b6d4c93f3e 100644 --- a/admin/stickyblocks.php +++ b/admin/stickyblocks.php @@ -39,7 +39,7 @@ define('ADMIN_STICKYBLOCKS',$pt); - $PAGE = page_create_object($pt); + $PAGE = page_create_object($pt, SITEID); $blocks = blocks_setup($PAGE,BLOCKS_PINNED_TRUE); $blocks_preferred_width = bounded_number(180, blocks_preferred_width($blocks[BLOCK_POS_LEFT]), 210);