Browse files

build_page() data parametr default is now an array

  • Loading branch information...
1 parent ac7aac6 commit c4439316ca4c121a3148b7bf50143d84d9947fbb Ollie Rattue committed Dec 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/application/libraries/template.php
View
2 web/application/libraries/template.php
@@ -82,7 +82,7 @@ function template_name($template_name = NULL)
// --------------------------------------------------------------------
- function build_page($path = NULL, $data = NULL)
+ function build_page($path = NULL, $data = array())
{
$data['path'] = $path;
$data['body_id'] = $this->body_id;

0 comments on commit c443931

Please sign in to comment.