@@ 276-278 (lines=3) @@ | ||
273 | } |
|
274 | $query .= " ORDER BY id"; |
|
275 | $result = $this->_config->getDb()->query($query); |
|
276 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
|
277 | $this->categories[$row['id']] = $row; |
|
278 | } |
|
279 | return $this->categories; |
|
280 | } |
|
281 | ||
@@ 299-301 (lines=3) @@ | ||
296 | $query .= " WHERE lang = '".$this->language."'"; |
|
297 | } |
|
298 | $result = $this->_config->getDb()->query($query); |
|
299 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
|
300 | $this->categories[$row["id"]] = $row; |
|
301 | } |
|
302 | return $this->categories; |
|
303 | } |
|
304 |