Skip to content

Commit

Permalink
Add default order value for CraftingStore integration
Browse files Browse the repository at this point in the history
Add default order value for CraftingStore integration in the Donate addon
  • Loading branch information
samerton committed Mar 29, 2018
1 parent 4b33a8e commit e9697ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/Donate/sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
$queries->create('donation_categories', array(
'name' => $category_name,
'cid' => $category_id,
'order' => $category_order
'order' => ($category_order ? $category_order : 0)
));
}

Expand Down

0 comments on commit e9697ad

Please sign in to comment.