diff --git a/framework/yii/helpers/BaseArrayHelper.php b/framework/yii/helpers/BaseArrayHelper.php index 9ac5faa..9b51c63 100644 --- a/framework/yii/helpers/BaseArrayHelper.php +++ b/framework/yii/helpers/BaseArrayHelper.php @@ -377,7 +377,7 @@ class BaseArrayHelper } else { $args[] = static::getColumn($array, $key); } - $args[] = $direction; + $args[] = $direction[$i]; $args[] = $flag; } $args[] = &$array;