Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel CAZAL
co2
Commits
8fcedd5c
Commit
8fcedd5c
authored
Apr 17, 2018
by
Kgneo
Browse files
fix
parent
2963a774
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/comment/commentPodSimple.php
View file @
8fcedd5c
...
...
@@ -161,7 +161,7 @@
if
(
@
$comment
[
"argval"
]
==
"down"
)
$classArgument
=
"bg-red-comment"
;
if
(
@
$comment
[
"argval"
]
==
""
)
$classArgument
=
"bg-white-comment"
;
//var_dump($comment["author"]);
$slug
=
Slug
::
getByTypeAndId
(
Person
::
COLLECTION
,
"
$comment["author"]["id"]
"
);
$slug
=
Slug
::
getByTypeAndId
(
Person
::
COLLECTION
,
$comment
[
"author"
][
"id"
]);
if
(
@
$slug
==
null
){
$slug
=
"page.type."
.
Person
::
COLLECTION
.
".id."
.
$comment
[
"author"
][
"id"
];
}
else
{
$slug
=
"@"
.
$slug
[
"name"
];
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment