Fix spacing between control structure and opening parenthesis

This commit is contained in:
Tautvidas Sipavičius
2016-06-29 18:54:01 +03:00
parent 0bfbe6dc79
commit 48f0c03425
16 changed files with 35 additions and 35 deletions

View File

@@ -278,7 +278,7 @@ class Newsletter extends Model {
static function filterWithOptions($orm) {
$orm = $orm->select(MP_NEWSLETTERS_TABLE.'.*');
$optionFields = NewsletterOptionField::findArray();
foreach ($optionFields as $optionField) {
foreach($optionFields as $optionField) {
$orm = $orm->select_expr(
'IFNULL(GROUP_CONCAT(CASE WHEN ' .
MP_NEWSLETTER_OPTION_FIELDS_TABLE . '.id=' . $optionField['id'] . ' THEN ' .
@@ -515,4 +515,4 @@ class Newsletter extends Model {
->whereIn('options.value', $segments)
->findMany();
}
}
}