Skip to content

Commit

Permalink
# [#28034] White page on contact form with SEO enabled. Thanks Nikolai
Browse files Browse the repository at this point in the history
  • Loading branch information
elkuku authored and infograf768 committed Jul 11, 2012
1 parent 6fa2034 commit 1a348f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/com_contact/router.php
Expand Up @@ -147,7 +147,10 @@ function ContactParseRoute($segments)

// From the categories view, we can only jump to a category.
$id = (isset($item->query['id']) && $item->query['id'] > 1) ? $item->query['id'] : 'root';
$categories = JCategories::getInstance('Contact')->get($id)->getChildren();

$contactCategory = JCategories::getInstance('Contact')->get($id);

$categories = ($contactCategory) ? $contactCategory->getChildren() : array();
$vars['catid'] = $id;
$vars['id'] = $id;
$found = 0;
Expand Down
1 change: 1 addition & 0 deletions installation/CHANGELOG
Expand Up @@ -28,6 +28,7 @@ $ -> Language fix or change

11-July-2012 Jean-Marie Simonet
# [#28535] Joomla 2.5.4 Timezones being doubled. Thanks Christophe and Andrea
# [#28034] White page on contact form with SEO enabled. Thanks Nikolai

08-July-2012 Jean-Marie Simonet
# [#28510] DB error "session" table Duplicate entry. Thanks Rob
Expand Down

0 comments on commit 1a348f1

Please sign in to comment.