added Sizaro's Swedish translation and some fixes

https://otland.net/threads/myaac-v0-0-1.251454/page-6#post-2443743
This commit is contained in:
slawkens1
2017-05-21 22:12:14 +02:00
parent 915a1720e2
commit be6fd3af0e
6 changed files with 124 additions and 3 deletions

View File

@@ -68,15 +68,18 @@ $type = '';
$houseOwner = $house['owner'];
if($houseOwner > 0)
{
$guild = NULL;
echo '<br/><br/>The house has been rented by ';
if($house['guild'] == 1)
if(isset($house['guild']) && $house['guild'] == 1)
{
$guild = new OTS_Guild();
$guild->load($houseOwner);
echo getGuildLink($guild->getName());
}
else
echo getCreatureName($houseOwner) . '.';
echo getCreatureName($houseOwner);
echo '.';
if($rent != 'never' && $house['paid'] > 0)
{