mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
85fad9337f
commit
933eb28040
@ -1,5 +1,8 @@
|
||||
CHANGE LOG
|
||||
|
||||
2016-02-04 by newman
|
||||
Fix regex in reports.js to not remove the last character of each line except the last. Redirect to log.php when attempting to report a deleted torrent
|
||||
|
||||
2016-01-31 by newman
|
||||
Allow locked accounts to send staff PMs to staff only
|
||||
|
||||
|
@ -19,6 +19,11 @@
|
||||
LEFT JOIN torrents AS t ON t.GroupID = tg.ID
|
||||
WHERE t.ID = " . $_GET['id']);
|
||||
list($CategoryID, $GroupID) = $DB->next_record();
|
||||
if (empty($CategoryID) || empty($GroupID)) {
|
||||
// Deleted torrent
|
||||
header("Location: log.php?search=Torrent+" . $TorrentID);
|
||||
die();
|
||||
}
|
||||
$Artists = Artists::get_artist($GroupID);
|
||||
$TorrentCache = get_group_info($GroupID, true, $RevisionID);
|
||||
$GroupDetails = $TorrentCache[0];
|
||||
|
@ -10,7 +10,7 @@ function toggleNotes(id) {
|
||||
|
||||
function saveNotes(id) {
|
||||
var notes = $('#notes_' + id).raw().value;
|
||||
notes = notes.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '<br />');
|
||||
notes = notes.replace(/(\r\n|\n\r|\r|\n)/g, '<br />');
|
||||
var post = new Array();
|
||||
post['id'] = id;
|
||||
post['notes'] = notes;
|
||||
|
Loading…
Reference in New Issue
Block a user