Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
paragraphs
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
paragraphs
Merge requests
!39
Update paragraphs.module
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Update paragraphs.module
issue/paragraphs-3301655:3301655-typeerror-when-null
into
7.x-1.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
IMMACULATE X
requested to merge
issue/paragraphs-3301655:3301655-typeerror-when-null
into
7.x-1.x
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#3301655
0
0
Merge request reports
Compare
7.x-1.x
7.x-1.x (HEAD)
and
latest version
latest version
57a2e374
1 commit,
2 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
paragraphs.module
+
1
−
1
Options
@@ -220,7 +220,7 @@ function paragraphs_item_access($op, $entity, $account, $entity_type) {
/**
* Implements hook_paragraphs_item_access().
*/
function
paragraphs_paragraphs_item_access
(
ParagraphsItemEntity
$entity
,
$op
,
$account
)
{
function
paragraphs_paragraphs_item_access
(
ParagraphsItemEntity
$entity
=
NULL
,
$op
,
$account
)
{
$permissions
=
&
drupal_static
(
__FUNCTION__
,
array
());
$parent_permissions
=
&
drupal_static
(
__FUNCTION__
.
'_parents'
,
array
());
Loading