Révision ef1afbb9
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/views/includes/handlers.inc | ||
---|---|---|
1544 | 1544 |
|
1545 | 1545 |
// Tack on the extra. |
1546 | 1546 |
if (isset($this->extra)) { |
1547 |
// If extra has been provided as string instead of an array, convert it |
|
1548 |
// to an array. |
|
1549 |
if (!is_array($this->extra)) { |
|
1550 |
$this->extra = array($this->extra); |
|
1551 |
} |
|
1552 |
|
|
1547 | 1553 |
$extras = array(); |
1548 | 1554 |
foreach ($this->extra as $info) { |
1549 | 1555 |
if (is_array($info)) { |
... | ... | |
1658 | 1664 |
// This is just copied verbatim from the parent class, which itself has a |
1659 | 1665 |
// bug: http://drupal.org/node/1118100 |
1660 | 1666 |
if (isset($this->extra)) { |
1667 |
// If extra has been provided as string instead of an array, convert it |
|
1668 |
// to an array. |
|
1669 |
if (!is_array($this->extra)) { |
|
1670 |
$this->extra = array($this->extra); |
|
1671 |
} |
|
1672 |
|
|
1661 | 1673 |
$extras = array(); |
1662 | 1674 |
foreach ($this->extra as $info) { |
1663 | 1675 |
if (is_array($info)) { |
Formats disponibles : Unified diff
Weekly update of contrib modules