Vergleich admin/modules/user/users.php - 1.6.14 - 1.6.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 2621Zeile 2621
								$db->delete_query("warnings", "uid='{$user['uid']}'");

// Update thread ratings

								$db->delete_query("warnings", "uid='{$user['uid']}'");

// Update thread ratings

								$query = $db->query("

								$update_thread_ratings_query = $db->query("

									SELECT r.*, t.numratings, t.totalratings
FROM ".TABLE_PREFIX."threadratings r
LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid=r.tid)
WHERE r.uid='{$user['uid']}'
");

									SELECT r.*, t.numratings, t.totalratings
FROM ".TABLE_PREFIX."threadratings r
LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid=r.tid)
WHERE r.uid='{$user['uid']}'
");

								while($rating = $db->fetch_array($query))

								while($rating = $db->fetch_array($update_thread_ratings_query))

								{
$update_thread = array(
"numratings" => $rating['numratings'] - 1,

								{
$update_thread = array(
"numratings" => $rating['numratings'] - 1,