Skip to content

Commit

Permalink
[#28068] Module weblinks does not import needed JModel class. Thanks
Browse files Browse the repository at this point in the history
Pepe.
  • Loading branch information
pepellou authored and infograf768 committed Feb 19, 2012
1 parent 0f222c1 commit d51e2b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions installation/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $ -> Language fix or change

19-Feb-2012 Jean-Marie Simonet
[#28091] Move the check if multilang is enabled to the libraries. Thanks Rouven
[#28068] Module weblinks does not import needed JModel class. Thanks Pepe.

17-Feb-2012 Jean-Marie Simonet
# [#28072] *Content Languages ordering broken
Expand Down
2 changes: 2 additions & 0 deletions modules/mod_weblinks/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// no direct access
defined('_JEXEC') or die;

jimport('joomla.application.component.model');

require_once JPATH_SITE . '/components/com_weblinks/helpers/route.php';
JModel::addIncludePath(JPATH_SITE . '/components/com_weblinks/models', 'WeblinksModel');

Expand Down

0 comments on commit d51e2b2

Please sign in to comment.