Permalink
Browse files

Coding style fix

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

0 comments on commit aa4b2bf

Please sign in to comment.