Vergleich newreply.php - 1.12 - 1.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 718Zeile 718
	// Setup the correct ownership of the attachments
if($mybb->input['posthash'])
{

	// Setup the correct ownership of the attachments
if($mybb->input['posthash'])
{

		$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'])."'");

	}
redirect($url, $lang->redirect_newreply);
}

	}
redirect($url, $lang->redirect_newreply);
}