Permalink
Browse files

Merge pull request #9 from omarev/patch-1

Fix call to member function createElement on a non-object for the video sitemap. Thanks @omarev.
  • Loading branch information...
2 parents 6f6f37f + 9aa2610 commit 71ae373db1e24db6d189b574d80edb27080bae5f @ThePixelDeveloper committed Jun 22, 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 71ae373

Please sign in to comment.