Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Array flip makes voucher strings to int (#161)
* Update Rule.php Sometimes legacy data could trigger an exception because of null-values. * [bugfix] cast because of stronger typing When adding voucher-tokens that are all numbers the array_flip function will make then int's so we need to cast to string in OrderManager. We also need to cast to int when reading configuration->getUsages() because it returns string. * Revert "Update Rule.php" This reverts commit 309e6ad.
- Loading branch information