Vergleich reputation.php - 1.8.34 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 166Zeile 166
	{
$query = $db->simple_select("reputation", "*", "adduid='".$mybb->user['uid']."' AND uid='{$uid}' AND pid='0'");
$existing_reputation = $db->fetch_array($query);

	{
$query = $db->simple_select("reputation", "*", "adduid='".$mybb->user['uid']."' AND uid='{$uid}' AND pid='0'");
$existing_reputation = $db->fetch_array($query);

		$rid = $existing_reputation['rid'];




		if($existing_reputation)
{
$rid = $existing_reputation['rid'];
}

		$was_post = false;
}
if($mybb->get_input('pid', MyBB::INPUT_INT) != 0)

		$was_post = false;
}
if($mybb->get_input('pid', MyBB::INPUT_INT) != 0)