diff --git a/cronjob/viertelstunde.php b/cronjob/viertelstunde.php index 528c51b..1497388 100644 --- a/cronjob/viertelstunde.php +++ b/cronjob/viertelstunde.php @@ -146,10 +146,10 @@ function insertAuktionen(){ for($t = 0; $t<$anzahl_auktions_items; $t++) { if(mt_rand(1,100) <= $chance_niete) { - $item_table = 'sp_item'; + $item_table = 'sp_ware'; $item_id = $nieten_id; } else { - $item_table = 'wochen_markt'; + $item_table = 'wochen_ware'; $item_id = $frucht[mt_rand(0,$fruchtcount-1)]; } $test = 'INSERT INTO auktion (itemid, itemname, tablename, anbieter, anzahl, deadline, startgebot, startdate) VALUES('.$item_id.',\'Geheim!\',\''.$item_table.'\',1,1,'.$deadline.','.$startgebot.','.$start.')';