Projekt

Allgemein

Profil

GX-Bug #48759 » DefaultLanguageOrderOverviewFix.patch

Till Tepelmann, 29.09.2016 15:35

Unterschiede anzeigen:

src/GXMainComponents/Services/Core/Order/OrderListGenerator.inc.php (revision )
41 41
	public function __construct(CI_DB_query_builder $db)
42 42
	{
43 43
		$this->db = $db;
44
		
44

  
45 45
		$this->defaultLanguageId = $this->db->select('languages_id')
46 46
		                                    ->from('languages')
47 47
		                                    ->where('code', DEFAULT_LANGUAGE)
48 48
		                                    ->get()
49 49
		                                    ->row()->languages_id;
50

  
51
		if($this->defaultLanguageId != $_SESSION['languages_id']) $this->defaultLanguageId = $_SESSION['languages_id'];
50 52
	}
51 53
	
52 54
	
    (1-1/1)