|  | @@ 295-297 (lines=3) @@ | 
                                                            
                                    | 292 |  |             FROM | 
                                                            
                                    | 293 |  |                 %sfaqcategories", | 
                                                            
                                    | 294 |  |             PMF_Db::getTablePrefix()); | 
                                                            
                                    | 295 |  |         if (isset($this->language) && preg_match("/^[a-z\-]{2,}$/", $this->language)) { | 
                                                            
                                    | 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; | 
                                                                                
                                |  | @@ 271-273 (lines=3) @@ | 
                                                            
                                    | 268 |  |         if (false == $parent_id && 0 < PMF_String::strlen($_query)) { | 
                                                            
                                    | 269 |  |             $query .= PMF_String::substr($_query, 4); | 
                                                            
                                    | 270 |  |         } | 
                                                            
                                    | 271 |  |         if (isset($this->language) && preg_match("/^[a-z\-]{2,}$/", $this->language)) { | 
                                                            
                                    | 272 |  |             $query .= " AND lang = '".$this->language."'"; | 
                                                            
                                    | 273 |  |         } | 
                                                            
                                    | 274 |  |         $query .= " ORDER BY id"; | 
                                                            
                                    | 275 |  |         $result = $this->_config->getDb()->query($query); | 
                                                            
                                    | 276 |  |         while ($row = $this->_config->getDb()->fetchArray($result)) { | 
                                                                                
                                |  | @@ 1326-1328 (lines=3) @@ | 
                                                            
                                    | 1323 |  |             FROM | 
                                                            
                                    | 1324 |  |                 %sfaqcategories", | 
                                                            
                                    | 1325 |  |             PMF_Db::getTablePrefix()); | 
                                                            
                                    | 1326 |  |         if (isset($this->language) && preg_match("/^[a-z\-]{2,}$/", $this->language)) { | 
                                                            
                                    | 1327 |  |             $query .= " WHERE lang != '".$this->language."'"; | 
                                                            
                                    | 1328 |  |         } | 
                                                            
                                    | 1329 |  |         $query .= ' ORDER BY id'; | 
                                                            
                                    | 1330 |  |         $result = $this->_config->getDb()->query($query); | 
                                                            
                                    | 1331 |  |         while ($row = $this->_config->getDb()->fetchArray($result)) { |