fixed typo loss_items => loss_containers

added highscores number_format so it shows 15,612,933,685 instead of
15612933685
This commit is contained in:
slawkens1 2017-06-02 00:41:27 +02:00
parent ecef4de2d2
commit 0219cc7a1f
3 changed files with 3 additions and 3 deletions

View File

@ -2174,7 +2174,7 @@ class OTS_Player extends OTS_Row_DAO
throw new E_OTS_NotLoaded(); throw new E_OTS_NotLoaded();
} }
return $this->data['loss_items']; return $this->data['loss_containers'];
} }
public function setLossContainers($loss_containers) public function setLossContainers($loss_containers)
{ {

View File

@ -1066,7 +1066,7 @@ Please enter your account name and your password.<br/><a href="?subtopic=createa
$char_to_copy = new OTS_Player(); $char_to_copy = new OTS_Player();
$char_to_copy->find($char_to_copy_name); $char_to_copy->find($char_to_copy_name);
if(!$char_to_copy->isLoaded()) if(!$char_to_copy->isLoaded())
$newchar_errors[] .= 'Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php and set valid characters to copy names. Character to copy'.$char_to_copy_name.'</b> doesn\'t exist.'; $newchar_errors[] .= 'Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php and set valid characters to copy names. Character to copy: <b>'.$char_to_copy_name.'</b> doesn\'t exist.';
} }
if(empty($newchar_errors)) if(empty($newchar_errors))

View File

@ -221,7 +221,7 @@ echo '
</td>'; </td>';
if($skill == POT::SKILL__LEVEL) if($skill == POT::SKILL__LEVEL)
echo '<td><center>' . $player['experience'] . '</center></td>'; echo '<td><center>' . number_format($player['experience']) . '</center></td>';
echo '</tr>'; echo '</tr>';
} }