Permalink
Browse files

Fix for this error:

Fatal error: Call to a member function createElement() on a non-object in /var/www/kohana/modules/sitemap/classes/kohana/sitemap/video.php on line 293
  • Loading branch information...
1 parent 6f6f37f commit 9aa2610811866c33d77dde2622870504643cc7fa @omarev omarev committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/kohana/sitemap/video.php
@@ -279,7 +279,7 @@ public function create()
/**
* Small recursive function to add attributes to the document.
*/
- $append_attributes = function($attributes) use ($video)
+ $append_attributes = function($attributes) use ($video, $document)
{
foreach($attributes as $name => $value)
{

0 comments on commit 9aa2610

Please sign in to comment.