Skip to content

Commit

Permalink
Fixed #1493
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookbanks committed Feb 13, 2017
1 parent 8b1a2e0 commit e7a354b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/sources/products.options.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
);
}
## Get all values (middle)
$values = $GLOBALS['db']->select('CubeCart_option_value', false, false, 'IF(priority>0, priority, value_id) ASC');
$values = $GLOBALS['db']->select('CubeCart_option_value', false, false, array('priority' => 'ASC', 'value_name' => 'ASC'));
if ($values) {
foreach ($values as $value) {
if (isset($optionArray[$value['option_id']])) {
Expand Down

0 comments on commit e7a354b

Please sign in to comment.