Skip to content
Permalink
Browse files
blah blah
  • Loading branch information
sanasol committed Oct 23, 2013
1 parent eeba38d commit 799e74c37afde656b344f41a8f9c61deb9ab5434
Showing with 2 additions and 2 deletions.
  1. +2 −2 merchant_db_flux/vending/modules/vending/index.php
@@ -11,8 +11,8 @@ function get_item_name($id, $server)
$sth = $server->connection->getStatement($sql);
$sth->execute();
$r = $sth->fetch();
$slots = ($r->slots > 0) ? "[{$r->slots}]":"";
if(strlen($r->name_japanese) > 1)
$slots = (@$r->slots > 0) ? "[{$r->slots}]":"";
if(strlen(@$r->name_japanese) > 1)
return $r->name_japanese.$slots;
else
return "Unknown Item";

0 comments on commit 799e74c

Please sign in to comment.