Fixed favorites star

Icon button now loads.
This commit is contained in:
aftercase 2021-07-24 22:07:33 +01:00
parent d6ba330be4
commit c59e2e747b

View file

@ -181,6 +181,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
<?php if ($current_user !== null) { <?php if ($current_user !== null) {
$fav_paste = checkFavorite($conn, $paste_id, $current_user->user_id); $fav_paste = checkFavorite($conn, $paste_id, $current_user->user_id);
} }
echo $fav_paste;
?> ?>
<a class="icon tool-icon" class="flip" onclick="openreport()"><i <a class="icon tool-icon" class="flip" onclick="openreport()"><i
class="far fa-flag fa-lg has-text-grey" title="Report Paste"></i></a> class="far fa-flag fa-lg has-text-grey" title="Report Paste"></i></a>