We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1a1e4d commit 7a0e10cCopy full SHA for 7a0e10c
main/inc/lib/social.lib.php
@@ -2409,7 +2409,6 @@ public static function getScriptToGetOpenGraph(): string
2409
public static function displayWallForm(string $urlForm): string
2410
{
2411
$form = self::getWallForm($urlForm);
2412
- $form->protect();
2413
2414
return Display::panel($form->returnForm(), get_lang('SocialWall'));
2415
}
@@ -3397,6 +3396,7 @@ private static function getWallForm(string $urlForm): FormValidator
3397
3396
$form->addHtml('</div></div>');
3398
$form->addHtml('</div>');
3399
$form->addHidden('url_content', '');
+ $form->protect();
3400
3401
return $form;
3402
0 commit comments