Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
drupal-make
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Dehlan
drupal-make
Commits
1f783598
Commit
1f783598
authored
Feb 9, 2020
by
ekes
Browse files
Options
Downloads
Patches
Plain Diff
Remove another PHP warning from custom theme code.
parent
ac18e289
Branches
245-only-index-future-events
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
themes/at_radar/templates/views-view-field--radar-event-search--title-field.tpl.php
+1
-1
1 addition, 1 deletion
...views-view-field--radar-event-search--title-field.tpl.php
with
1 addition
and
1 deletion
themes/at_radar/templates/views-view-field--radar-event-search--title-field.tpl.php
+
1
−
1
View file @
1f783598
...
@@ -11,7 +11,7 @@ $groups = array();
...
@@ -11,7 +11,7 @@ $groups = array();
$group_ids
=
$row
->
_entity_properties
[
'og_group_ref'
];
$group_ids
=
$row
->
_entity_properties
[
'og_group_ref'
];
// Think it's been loaded and cached anyway by the field handler, which
// Think it's been loaded and cached anyway by the field handler, which
// is probably where this should be done.
// is probably where this should be done.
foreach
(
$group_ids
as
$gid
){
foreach
(
(
array
)
$group_ids
as
$gid
){
$node
=
entity_load_single
(
'node'
,
$gid
);
$node
=
entity_load_single
(
'node'
,
$gid
);
if
(
$node
->
type
==
'group'
)
{
if
(
$node
->
type
==
'group'
)
{
// If it's a group well put it in.
// If it's a group well put it in.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment