|
@@ -94,7 +94,7 @@ if (($Escaped['resolve_type'] == 'manual' || $Escaped['resolve_type'] == 'dismis
|
94
|
94
|
<tr>
|
95
|
95
|
<td>
|
96
|
96
|
<a href="reportsv2.php?view=report&id=<?=$ReportID?>">Somebody has already resolved this report</a>
|
97
|
|
- <input type="button" value="Clear" onclick="ClearReport(<?=$ReportID?>);" />
|
|
97
|
+ <input type="button" value="Clear" o nclick="ClearReport(<?=$ReportID?>);" />
|
98
|
98
|
</td>
|
99
|
99
|
</tr>
|
100
|
100
|
</table>
|
|
@@ -205,7 +205,7 @@ if ($DB->affected_rows() > 0 || !$Report) {
|
205
|
205
|
$DB->query("
|
206
|
206
|
SELECT
|
207
|
207
|
r.ExtraID,
|
208
|
|
- t.info_hash
|
|
208
|
+ HEX(t.info_hash)
|
209
|
209
|
FROM reportsv2 AS r
|
210
|
210
|
LEFT JOIN torrents AS t ON r.ExtraID = t.ID
|
211
|
211
|
WHERE r.ID = $ReportID");
|
|
@@ -231,7 +231,7 @@ if ($DB->affected_rows() > 0 || !$Report) {
|
231
|
231
|
}
|
232
|
232
|
}
|
233
|
233
|
foreach ($AffectedUsers as $UserID) {
|
234
|
|
- Tracker::update_tracker('add_token', array('info_hash' => rawurlencode($InfoHash), 'userid' => $UserID));
|
|
234
|
+ Tracker::update_tracker('add_token', ['info_hash' => substr('%'.chunk_split($InfoHash,2,'%'),0,-1), 'userid' => $UserID]);
|
235
|
235
|
$DB->query("
|
236
|
236
|
INSERT INTO users_freeleeches (UserID, TorrentID, Time)
|
237
|
237
|
VALUES ($UserID, $ExtraID, NOW())
|