Projet

Général

Profil

Révision 76e2e7c3

Ajouté par Assos Assos il y a environ 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/flag/includes/views/flag_handler_argument_entity_id.inc
27 27
   */
28 28
  function title_query() {
29 29
    if (!($flag = $this->get_flag())) {
30
      return array(); // Error message is printed by get_flag().
30
      // Error message is printed by get_flag().
31
      return array();
31 32
    }
32 33
    $views_info = $flag->get_views_info();
33 34

  
34 35
    $titles = array();
35
    $placeholders = implode(', ', array_fill(0, sizeof($this->value), '%d'));
36
    $placeholders = implode(', ', array_fill(0, count($this->value), '%d'));
36 37

  
37 38
    $result = db_select($views_info['views table'], 'o')
38 39
      ->fields('o', array($views_info['title field']))

Formats disponibles : Unified diff