Berücksichtigung des Aktiv-Attributs bei Vorlagen

This commit is contained in:
kindlm
2016-09-19 15:00:14 +02:00
parent 48dd4469a8
commit ab0dcfdcff
+3 -1
View File
@@ -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))
{