Page 1 of 1

Undefined variable: cagtegory in view.feed.php

Posted: Tue Sep 09, 2008 7:02 pm
by webstudent
I get these error messages from PHP with Joomla 1.5.6:

PHP Notice: Undefined variable: cagtegory in /components/com_content/views/category/view.feed.php on line 41
PHP Notice: Trying to get property of non-object in /components/com_content/views/category/view.feed.php on line 41

Seems like this is caused by a small typo in the following line:

$doc->link = JRoute::_(ContentHelperRoute::getCategoryRoute($category->id, $cagtegory->sectionid));

I don't know the practical consequences of this small bug though...

EDIT: Woops .. this should probably have been posted in the main Q&T forum.