username fix for seasonscore
authorSven Hecht <sven@sven-laptop.(none)>
Fri, 26 Jun 2009 20:24:10 +0000 (22:24 +0200)
committerSven Hecht <sven@sven-laptop.(none)>
Fri, 26 Jun 2009 20:24:10 +0000 (22:24 +0200)
web/php/Database.php

index e56a5b9..c924d63 100644 (file)
                        }
                        
                        foreach ($idlist as $id) {
-                               $result[] = $this->GetSeasonScoreByID($id);
+                               $score = $this->GetSeasonScoreByID($id);
+                               $score->User = $this->GetUserByID($score->UserID);
+                               $result[] = $score;
                        }
                        
                        return $result;