mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-06 14:49:27 +00:00
Berücksichtigung des Aktiv-Attributs bei Vorlagen
This commit is contained in:
@@ -121,9 +121,11 @@ class VorlageLib
|
||||
{
|
||||
$where .= "sprache = " . $this->ci->VorlageModel->escape($sprache);
|
||||
}
|
||||
|
||||
$where .= " AND aktiv = true";
|
||||
|
||||
// Try to search the template with the given vorlage_kurzbz and other parameters if present
|
||||
$queryParameters = array("vorlage_kurzbz" => $vorlage_kurzbz);
|
||||
$queryParameters = array("vorlage_kurzbz" => $vorlage_kurzbz, "aktiv" => true);
|
||||
|
||||
if (isset($oe_kurzbz))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user