Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanasol committed Oct 23, 2013
1 parent 87ffdeb commit eeba38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merchant_db_flux/vending/modules/vending/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function get_item_name($id, $server)
$sth->execute();
$r = $sth->fetch();
$slots = ($r->slots > 0) ? "[{$r->slots}]":"";
if(!empty($r->name_japanese))
if(strlen($r->name_japanese) > 1)
return $r->name_japanese.$slots;
else
return "Unknown Item";
Expand Down

0 comments on commit eeba38d

Please sign in to comment.