mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-03 11:59:29 +00:00
Serialized array of config const FAS_REIHUNGSTEST_EXCLUDE_GEBIETE
Serialized and unserialized const array to make it work properly.
This commit is contained in:
@@ -106,7 +106,7 @@ define('FAS_REIHUNGSTEST_PUNKTE', false);
|
||||
|
||||
// Legt fest, welche Reihungstestgebiete bei der Berechnung der Gesamtpunkte NICHT einbezogen werden.
|
||||
// array(gebiet_id1, gebiet_id2,...)
|
||||
define('FAS_REIHUNGSTEST_EXCLUDE_GEBIETE', array());
|
||||
define('FAS_REIHUNGSTEST_EXCLUDE_GEBIETE', serialize(array()));
|
||||
|
||||
// Legt fest ob Messages im FAS angezeigt werden true|false
|
||||
define('FAS_MESSAGES',false);
|
||||
|
||||
@@ -363,7 +363,8 @@ class pruefling extends basis_db
|
||||
{
|
||||
if (defined('FAS_REIHUNGSTEST_EXCLUDE_GEBIETE') && !empty(FAS_REIHUNGSTEST_EXCLUDE_GEBIETE))
|
||||
{
|
||||
$exclude_gebiet_id_arr = FAS_REIHUNGSTEST_EXCLUDE_GEBIETE;
|
||||
$excluded_gebiete = unserialize(FAS_REIHUNGSTEST_EXCLUDE_GEBIETE);
|
||||
$exclude_gebiet_id_arr = $excluded_gebiete;
|
||||
$exclude_gebiet_id_toString = implode(', ', $exclude_gebiet_id_arr);
|
||||
$qry .= "
|
||||
AND
|
||||
|
||||
Reference in New Issue
Block a user