Skip to content
Browse files

Coding style fix

  • Loading branch information...
1 parent aa4b2bf commit d6c669343f90afee34538761c531428d2c51cbc3 @Yiivgeny committed Oct 5, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 framework/web/CArrayDataProvider.php
View
10 framework/web/CArrayDataProvider.php
@@ -157,11 +157,11 @@ protected function sortData($directions)
protected function getSortingFieldValue($data, $fields)
{
foreach($fields as $field){
- if(is_object($data))
- $data=isset($data->$field) ? $data->$field : null;
- else
- $data=isset($data[$field]) ? $data[$field] : null;
- }
+ if(is_object($data))
+ $data=isset($data->$field) ? $data->$field : null;
+ else
+ $data=isset($data[$field]) ? $data[$field] : null;
+ }
return $this->caseSensitiveSort ? $data : mb_strtolower($data,Yii::app()->charset);
}

0 comments on commit d6c6693

Please sign in to comment.
Something went wrong with that request. Please try again.