From af1ceb45c716de0ca807011027511791ebdeaa7b Mon Sep 17 00:00:00 2001 From: isaack <drericlaufer@gmx.de> Date: Sat, 21 Dec 2019 16:20:13 +0100 Subject: [PATCH] Bug Forcedbanner Bug beseitigt --- lib/functions.lib.php | 2 +- topframe_forced.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions.lib.php b/lib/functions.lib.php index 28b7b0a..4999081 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 84f8983..045dcb0 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); -- GitLab