Undefined variable: cagtegory in view.feed.php

Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Oct 28, 2007 7:18 pm

Undefined variable: cagtegory in view.feed.php

Postby webstudent » Tue Sep 09, 2008 7:02 pm

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.

Return to “Third Party Testing for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 2 guests