Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / views / src / Plugin / views / pager / SqlBase.php
index 46daeb7ed7167664f22ab082f6035fb5e699527e..d683202d1758a3f6de2e4d44a7d851b38c045565 100644 (file)
@@ -132,7 +132,6 @@ abstract class SqlBase extends PagerPluginBase implements CacheableDependencyInt
       ],
     ];
 
-
     $form['expose']['items_per_page_options_all'] = [
       '#type' => 'checkbox',
       '#title' => $this->t('Allow user to display all items'),
@@ -362,7 +361,7 @@ abstract class SqlBase extends PagerPluginBase implements CacheableDependencyInt
   public function exposedFormValidate(&$form, FormStateInterface $form_state) {
     if (!$form_state->isValueEmpty('offset') && trim($form_state->getValue('offset'))) {
       if (!is_numeric($form_state->getValue('offset')) || $form_state->getValue('offset') < 0) {
-        $form_state->setErrorByName('offset', $this->t('Offset must be an number greater or equal than 0.'));
+        $form_state->setErrorByName('offset', $this->t('Offset must be a number greater than or equal to 0.'));
       }
     }
   }