diff --git a/lib/functions.lib.php b/lib/functions.lib.php index 28b7b0aa987bb34dd65c37f6c2dff5867a0a2b65..499908105efc7c097fa5f2da194cfca9ab5fa62a 100644 --- a/lib/functions.lib.php +++ b/lib/functions.lib.php @@ -82,7 +82,7 @@ function rallysystem ($uid,$was,$anzahl) { if (!in_array($uid, $gesperrt)) { $anzahl2 = $anzahl.$res->ende_punkte_anzahl; eval("\$anzahl2 = $anzahl2;"); - $steigerung = $anzahl.$res->gewinn_dyn_steigerung; + $steigerung = $anzahl.'*'.$res->gewinn_dyn_steigerung; eval("\$steigerung = $steigerung;"); if ($res->gewinn_art == 'dynamisch') $datenbank->query("UPDATE ". PREFIX . RALLY ." SET gewinn_topf=gewinn_topf+'".$steigerung."' WHERE id = '".$res->id."' LIMIT 1"); if ($res->ende_art == 'punkt') $datenbank->query("UPDATE ". PREFIX . RALLY ." SET ende_punkte_aktuell = ende_punkte_aktuell + '".$anzahl2."' WHERE id = ".$res->id." LIMIT 1"); diff --git a/topframe_forced.php b/topframe_forced.php index 84f8983e2abb9b6d12657c29d70d7d40087ccd91..045dcb0f0208517a5956a59cae933100ba0d56a0 100644 --- a/topframe_forced.php +++ b/topframe_forced.php @@ -2,7 +2,7 @@ session_start(); require_once ('lib/functions.lib.php'); require_once ('lib/db_config.php'); -require_once('lib/datenbank.inc.php'); +require_once('lib/class/db.class.php'); $datenbank = new DB; $konto = Classloader('kontobuchung'); $grundconfig = $datenbank->get_row("SELECT * FROM ". PREFIX . CONFIG ." ",true);