@@ -513,13 +513,13 @@ |
||
| 513 | 513 | case 'to': |
| 514 | 514 | $relCol = $relations[$rel]['col']; |
| 515 | 515 | static::fixPrefix($relCol); |
| 516 | - $rootModel::$relJoins[$joinName] = [$relations[$rel]['model']::table(), $relations[$rel]['model']::index() . ' = ' . $relCol, 'left','']; |
|
| 516 | + $rootModel::$relJoins[$joinName] = [$relations[$rel]['model']::table(), $relations[$rel]['model']::index() . ' = ' . $relCol, 'left', '']; |
|
| 517 | 517 | break; |
| 518 | 518 | case 'one': |
| 519 | 519 | case 'many': |
| 520 | 520 | $relCol = $relations[$rel]['col']; |
| 521 | 521 | $relations[$rel]['model']::fixPrefix($relCol); |
| 522 | - $rootModel::$relJoins[$joinName] = [$relations[$rel]['model']::table(), static::index() . ' = ' . $relCol, 'left','']; |
|
| 522 | + $rootModel::$relJoins[$joinName] = [$relations[$rel]['model']::table(), static::index() . ' = ' . $relCol, 'left', '']; |
|
| 523 | 523 | break; |
| 524 | 524 | } |
| 525 | 525 | $relations[$rel]['model']::fixPrefix($col, 'key', $rootModel); |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | $title = \I18n\Text::module('Users', 'Новый пароль на сайте ${domain}', ['domain' => $domain]); |
| 152 | 152 | $text = \I18n\Text::module('Users', 'newpassmail', ['domain' => $domain, 'pass' => $pass]); |
| 153 | 153 | Tools::sendMail('noreply@' . $domainRaw, $user->mail, $title, $text); |
| 154 | - Tools::redirect('/', \I18n\Text::module('Users','Вы успешно сбросили пароль и были авторизованы на сайте. На ваш почтовый ящик был выслан новый пароль'), 'success'); |
|
| 154 | + Tools::redirect('/', \I18n\Text::module('Users', 'Вы успешно сбросили пароль и были авторизованы на сайте. На ваш почтовый ящик был выслан новый пароль'), 'success'); |
|
| 155 | 155 | } |
| 156 | 156 | } |
| 157 | 157 | |