From 1069f6493cbf6f7c22abf8a2648a442502da4d3c Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Mon, 8 Nov 2010 10:33:37 +0000 Subject: [PATCH] --- include/sprache.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/sprache.class.php b/include/sprache.class.php index 03bef017f..04412b592 100644 --- a/include/sprache.class.php +++ b/include/sprache.class.php @@ -67,7 +67,7 @@ class sprache extends basis_db $this->sprache = $row->sprache; $this->locale = $row->locale; $this->index = $row->index; - //$this->content = $row->content; + $this->content = ($row->content=='t'?true:false); } return true; } @@ -87,17 +87,17 @@ class sprache extends basis_db return false; } - if($row = $this->db_fetch_object()) + while($row = $this->db_fetch_object()) { $sprache = new sprache(); $sprache->sprache = $row->sprache; $sprache->locale = $row->locale; $sprache->index = $row->index; - //$sprache->content = $row->content; + $sprache->content = ($row->content=='t'?true:false); $this->result[] = $sprache; } - return true; + return true; } /**