Vergleich newreply.php - 1.12 - 1.17
Zeile 718 | Zeile 718 |
---|---|
// Setup the correct ownership of the attachments |
// Setup the correct ownership of the attachments |
$db->query("UPDATE ".TABLE_PREFIX."attachments SET pid='$pid' WHERE posthash='".$mybb->input['posthash']."'"); | $db->query("UPDATE ".TABLE_PREFIX."attachments SET pid='$pid' WHERE posthash='".addslashes($mybb->input['posthash'])."'"); |
} | } |