Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/contexts/user.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 |
* Plugin to provide a user context |
|
5 |
* Plugin to provide a user context. |
|
7 | 6 |
*/ |
8 | 7 |
|
9 | 8 |
/** |
... | ... | |
118 | 117 |
return; |
119 | 118 |
} |
120 | 119 |
|
121 |
// Validate the autocomplete |
|
120 |
// Validate the autocomplete.
|
|
122 | 121 |
if (empty($form_state['values']['uid']) && empty($form_state['values']['user'])) { |
123 | 122 |
form_error($form['user'], t('You must select a user.')); |
124 | 123 |
return; |
Formats disponibles : Unified diff
Weekly update of contrib modules