@@ 270-272 (lines=3) @@ | ||
267 | } |
|
268 | $query .= " ORDER BY id"; |
|
269 | $result = $this->_config->getDb()->query($query); |
|
270 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
|
271 | $this->categories[$row['id']] = $row; |
|
272 | } |
|
273 | return $this->categories; |
|
274 | } |
|
275 | ||
@@ 293-295 (lines=3) @@ | ||
290 | $query .= " WHERE lang = '".$this->language."'"; |
|
291 | } |
|
292 | $result = $this->_config->getDb()->query($query); |
|
293 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
|
294 | $this->categories[$row["id"]] = $row; |
|
295 | } |
|
296 | return $this->categories; |
|
297 | } |
|
298 |