Wanted geht nun ab dem zweiten char. Fix warnings aus liga.php

main
hecht 9 years ago
parent f34103ab5e
commit 45b747d462

@ -6,6 +6,7 @@
*
*/
include "db.php";
include('path.inc.php');
include_once ('inclu/messagefunctions.inc.php');
include_once ('inclu/halloffame.inc.php');

@ -40,7 +40,9 @@ foreach($races as $race) {
$max_charakter = mysql_num_rows(mysql_query('SELECT id FROM chars WHERE rasse NOT IN ('.implode(',', $exclude_race_ids).') LIMIT 500'));
if($max_charakter<500) {
if($max_charakter%2!=0) { $max_charakter--; }
if($max_charakter==0) {
exit;
}

Loading…
Cancel
Save