diff --git a/ag/include/auktion_functions.inc.php b/ag/include/auktion_functions.inc.php index 29b2122..e978bed 100644 --- a/ag/include/auktion_functions.inc.php +++ b/ag/include/auktion_functions.inc.php @@ -177,6 +177,10 @@ function insertItem($userid,$id_db_mix, $anzahl, $startgebot){ } $anzahl = floor($anzahl); + if($anzahl > 1000) { + return 'Es können nicht mehr als 1000 items gleichzeitig vertickt werden.'; + } + preg_replace('#,#','',$id_db_mix); // Entferne die Gefaehrlichen \' !!! $mix_explode = explode(',',$id_db_mix); diff --git a/ag/rss.php b/ag/rss.php index ee963b6..c4c2ea0 100644 --- a/ag/rss.php +++ b/ag/rss.php @@ -31,7 +31,7 @@ $nachrichten = mysql_query('SELECT * FROM ff11_news order by id DESC LIMIT 10'); ?> - <?php echo $row['betreff'].' - Antworten ('.$komments.')'; ?> + <?php echo preg_replace('#&#', 'und', $row['betreff']).' - Antworten ('.$komments.')'; ?>