Vergleich newreply.php - 1.11 - 1.15
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'])."'"); |
} | } |