Skip to content

Commit

Permalink
Allow float for item costs
Browse files Browse the repository at this point in the history
  • Loading branch information
GodMod committed Dec 2, 2019
1 parent ab5032f commit ddf4354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/parser/plus_format.parser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static function parse($input) {
foreach($xml->items->children() as $xitem) {
$cost = (isset($xitem->cost)) ? trim($xitem->cost) : '';
$id = (isset($xitem->itemid)) ? trim($xitem->itemid) : '';
$data['items'][] = array(trim($xitem->name), trim($xitem->member), (int) $cost, $id, (int) trim($xitem->time));
$data['items'][] = array(trim($xitem->name), trim($xitem->member), (float)$cost, $id, (int)trim($xitem->time));
}
return $data;
}
Expand Down
2 changes: 1 addition & 1 deletion raidlogimport_plugin_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function __shortcuts() {

public $vstatus = 'Stable';

public $version = '0.7.3.6'; //Version for EQdkp Plus 2.3
public $version = '0.7.3.7'; //Version for EQdkp Plus 2.3

protected static $apiLevel = 23;

Expand Down

0 comments on commit ddf4354

Please sign in to comment.