mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-06 09:01:23 +00:00
Update Drupal 7 dependencies
This commit is contained in:
parent
7d902ba1ef
commit
13df912654
391 changed files with 2900 additions and 1502 deletions
|
@ -165,12 +165,7 @@ function node_filter_form() {
|
|||
);
|
||||
foreach ($session as $filter) {
|
||||
list($type, $value) = $filter;
|
||||
if ($type == 'term') {
|
||||
// Load term name from DB rather than search and parse options array.
|
||||
$value = module_invoke('taxonomy', 'term_load', $value);
|
||||
$value = $value->name;
|
||||
}
|
||||
elseif ($type == 'language') {
|
||||
if ($type == 'language') {
|
||||
$value = $value == LANGUAGE_NONE ? t('Language neutral') : module_invoke('locale', 'language_name', $value);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue