File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ function add_image_form() {
110
110
111
111
if ($ group_id != 0 ) {
112
112
$ group_info = $ usergroup ->get ($ group_id );
113
+ $ group_info ['name ' ] = Security::remove_XSS ($ group_info ['name ' ]);
114
+ $ group_info ['description ' ] = Security::remove_XSS ($ group_info ['description ' ]);
113
115
114
116
$ interbreadcrumb [] = ['url ' => '# ' , 'name ' => $ group_info ['name ' ]];
115
117
@@ -154,6 +156,8 @@ function add_image_form() {
154
156
$ socialForum = '' ;
155
157
156
158
$ group_info = $ usergroup ->get ($ group_id );
159
+ $ group_info ['name ' ] = Security::remove_XSS ($ group_info ['name ' ]);
160
+ $ group_info ['description ' ] = Security::remove_XSS ($ group_info ['description ' ]);
157
161
158
162
//Loading group information
159
163
if (isset ($ _GET ['status ' ]) && $ _GET ['status ' ] == 'sent ' ) {
You can’t perform that action at this time.
0 commit comments