mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-01 01:24:32 +03:00
Remove "&" from "get_csrf_token_in_url" function's result
This commit is contained in:
parent
16749fec8c
commit
4d45e57a9b
@ -69,7 +69,7 @@ function get_csrf_token_in_url()
|
||||
{
|
||||
set_csrf_token();
|
||||
|
||||
return "&csrf_token=" . $_SESSION['csrf_token'];
|
||||
return "csrf_token=" . $_SESSION['csrf_token'];
|
||||
}
|
||||
|
||||
/* set csrf token */
|
||||
|
@ -56,7 +56,7 @@
|
||||
<td>{{cutString comment "30"}}</td>
|
||||
|
||||
<td>
|
||||
<a class="removelink" id="i{{banid}}" href="{{../mibewRoot}}/operator/blocked.php?act=del&id={{banid}}{{csrfTokenInUrl}}">
|
||||
<a class="removelink" id="i{{banid}}" href="{{../mibewRoot}}/operator/blocked.php?act=del&id={{banid}}&{{csrfTokenInUrl}}">
|
||||
{{l10n "remove.item"}}
|
||||
</a>,
|
||||
<a href="{{../mibewRoot}}/operator/ban.php?id={{banid}}"
|
||||
|
@ -74,7 +74,7 @@
|
||||
<td>
|
||||
<a href="{{../mibewRoot}}/operator/canned-message/{{id}}/edit" target="_blank"
|
||||
onclick="this.newWindow = window.open('{{../mibewRoot}}/operator/canned-message/{{id}}/edit', '', 'toolbar=0,scrollbars=1,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">{{l10n "canned.actions.edit"}}</a>,
|
||||
<a href="{{../mibewRoot}}/operator/canned-message/{{id}}/delete?lang={{../formlang}}&group={{../formgroup}}{{csrfTokenInUrl}}">{{l10n "canned.actions.del"}}</a>
|
||||
<a href="{{../mibewRoot}}/operator/canned-message/{{id}}/delete?lang={{../formlang}}&group={{../formgroup}}&{{csrfTokenInUrl}}">{{l10n "canned.actions.del"}}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
|
Loading…
Reference in New Issue
Block a user