@@ 1981-1985 (lines=5) @@ | ||
1978 | AND fd.id = fv.artikel |
|
1979 | AND fd.active = \'yes\''; |
|
1980 | ||
1981 | if (isset($categoryId) && is_numeric($categoryId) && ($categoryId != 0)) { |
|
1982 | $query .= ' |
|
1983 | AND |
|
1984 | fcr.category_id = \''.$categoryId.'\''; |
|
1985 | } |
|
1986 | if (isset($language) && PMF_Language::isASupportedLanguage($language)) { |
|
1987 | $query .= ' |
|
1988 | AND |
|
@@ 2079-2083 (lines=5) @@ | ||
2076 | AND fd.lang = fv.lang |
|
2077 | AND fd.active = \'yes\''; |
|
2078 | ||
2079 | if (isset($categoryId) && is_numeric($categoryId) && ($categoryId != 0)) { |
|
2080 | $query .= ' |
|
2081 | AND |
|
2082 | fcr.category_id = \''.$categoryId.'\''; |
|
2083 | } |
|
2084 | if (isset($language) && PMF_Language::isASupportedLanguage($language)) { |
|
2085 | $query .= ' |
|
2086 | AND |