File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -152,13 +152,15 @@ public function initContent()
152
152
// Default blog text
153
153
$ everblog_top_text = $ this ->module ::getConfigInMultipleLangs ('EVERBLOG_TOP_TEXT ' );
154
154
$ default_blog_top_text = $ everblog_top_text [(int ) Context::getContext ()->language ->id ];
155
- $ default_blog_top_text =
156
- $ default_blog_top_text ->customer ->id
155
+ $ default_blog_top_text = EverPsBlogPost::changeShortcodes (
156
+ $ default_blog_top_text ,
157
+ (int ) Context::getContext ()->customer ->id
157
158
);
158
159
$ everblog_bottom_text = $ this ->module ::getConfigInMultipleLangs ('EVERBLOG_BOTTOM_TEXT ' );
159
160
$ default_blog_bottom_text = $ everblog_bottom_text [(int ) Context::getContext ()->language ->id ];
160
- $ default_blog_bottom_text =
161
- $ default_blog_bottom_text ->customer ->id
161
+ $ default_blog_bottom_text = EverPsBlogPost::changeShortcodes (
162
+ $ default_blog_bottom_text ,
163
+ (int ) Context::getContext ()->customer ->id
162
164
);
163
165
Hook::exec ('actionBeforeEverBlogInitContent ' , [
164
166
'blog_post_number ' => &$ this ->post_number ,
You can’t perform that action at this time.
0 commit comments