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 14
14
- -> Removed
15
15
! -> Note
16
16
17
+ Version 8.1.15
18
+ # Fix permission issues with page builder extensions
19
+
17
20
Version 8.1.14
18
21
# Fixed install SQL missing a field
19
22
# Fixed HTML5 notification image on multilingual sites
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ class ModShoutboxHelper
45
45
*/
46
46
public function __construct ($ id )
47
47
{
48
- $ this ->params = $ this ->getParams ($ id );
49
48
$ this ->db = JFactory::getDbo ();
49
+ $ this ->params = $ this ->getParams ($ id );
50
50
}
51
51
52
52
/**
@@ -155,10 +155,20 @@ public static function getPostsAjax()
155
155
*/
156
156
public function getParams ($ title = null )
157
157
{
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
+
160
166
$ moduleParams = new JRegistry ;
161
- $ moduleParams ->loadString ($ module ->params );
167
+
168
+ if ($ result !== '' )
169
+ {
170
+ $ moduleParams ->loadString ($ result );
171
+ }
162
172
163
173
return $ moduleParams ;
164
174
}
Original file line number Diff line number Diff line change 7
7
<license >http://www.gnu.org/licenses/gpl-3.0.html</license >
8
8
<
authorEmail >
[email protected] </
authorEmail >
9
9
<authorUrl >http://www.joomjunk.co.uk</authorUrl >
10
- <version >8.1.14 </version >
10
+ <version >8.1.15 </version >
11
11
<description >JJSHOUTBOX_DESCRIPTION</description >
12
12
13
13
<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