File tree Expand file tree Collapse file tree 5 files changed +20
-5
lines changed
Expand file tree Collapse file tree 5 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1414- -> Removed
1515! -> Note
1616
17+ Version 8.1.15
18+ # Fix permission issues with page builder extensions
19+
1720Version 8.1.14
1821# Fixed install SQL missing a field
1922# Fixed HTML5 notification image on multilingual sites
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ class ModShoutboxHelper
4545 */
4646 public function __construct ($ id )
4747 {
48- $ this ->params = $ this ->getParams ($ id );
4948 $ this ->db = JFactory::getDbo ();
49+ $ this ->params = $ this ->getParams ($ id );
5050 }
5151
5252 /**
@@ -155,10 +155,20 @@ public static function getPostsAjax()
155155 */
156156 public function getParams ($ title = null )
157157 {
158- jimport ('joomla.application.module.helper ' );
159- $ module = JModuleHelper::getModule ('mod_shoutbox ' , $ title );
158+ $ query = $ this ->db ->getQuery (true )
159+ ->select ('params ' )
160+ ->from ($ this ->db ->qn ('#__modules ' ))
161+ ->where ($ this ->db ->qn ('module ' ) . ' = ' . $ this ->db ->q ('mod_shoutbox ' ));
162+
163+ $ this ->db ->setQuery ($ query );
164+ $ result = $ this ->db ->loadResult ();
165+
160166 $ moduleParams = new JRegistry ;
161- $ moduleParams ->loadString ($ module ->params );
167+
168+ if ($ result !== '' )
169+ {
170+ $ moduleParams ->loadString ($ result );
171+ }
162172
163173 return $ moduleParams ;
164174 }
Original file line number Diff line number Diff line change 77 <license >http://www.gnu.org/licenses/gpl-3.0.html</license >
88 <authorEmail >admin@joomjunk.co.uk</authorEmail >
99 <authorUrl >http://www.joomjunk.co.uk</authorUrl >
10- <version >8.1.14 </version >
10+ <version >8.1.15 </version >
1111 <description >JJSHOUTBOX_DESCRIPTION</description >
1212
1313 <install >
Original file line number Diff line number Diff line change 1+ # Placeholder file for database changes for version 8.1.15
Original file line number Diff line number Diff line change 1+ # Placeholder file for database changes for version 8.1.15
You can’t perform that action at this time.
0 commit comments