Search found 1 match

by sanberdu
Mon Oct 13, 2014 2:08 pm
Forum: Bug reports
Topic: Couldn't delete a FAQ in 2.8.13
Replies: 1
Views: 3263

Couldn't delete a FAQ in 2.8.13

I was receiving 'You are not authorized' messages whenever I tried to delete a FAQ.
I made the following update to record.show.php:

function deleteRecord(record_id, record_lang)
{
<?php
echo ' var csrf = "' . $user->getCsrfTokenFromSession() . "\";\n";
?>
if (confirm('<?php print addslashes ...