diff options
author | dartcafe <github@dartcafe.de> | 2020-04-13 08:19:27 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-04-13 08:19:27 +0300 |
commit | 9e078499752440a9f0e941ce6641998f06bf2702 (patch) | |
tree | bce195c5d50f65ce686d6636343ed3aaffacca9d /lib | |
parent | b645daa42dfa0966ea7d51240e59bb40dc942c34 (diff) |
fix #900
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/OptionController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/OptionController.php b/lib/Controller/OptionController.php index 35dce8b0..1686c555 100644 --- a/lib/Controller/OptionController.php +++ b/lib/Controller/OptionController.php @@ -180,9 +180,9 @@ class OptionController extends Controller { $updateOption->setTimestamp($option['timestamp']); if ($option['timestamp'] === 0) { - $NewOption->setOrder($option['order']); + $updateOption->setOrder($option['order']); } else { - $NewOption->setOrder($option['timestamp']); + $updateOption->setOrder($option['timestamp']); } $this->optionMapper->update($updateOption); |