Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Coding style fix

  • Loading branch information...
commit aa4b2bfb230e038f27ef26be10a67ef7ab32fcab 1 parent 6c2394d
@Yiivgeny Yiivgeny authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/web/CArrayDataProvider.php
View
4 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.
Something went wrong with that request. Please try again.