Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thibaut Lefort
co2
Commits
8fcedd5c
Commit
8fcedd5c
authored
Apr 17, 2018
by
Kgneo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2963a774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
views/comment/commentPodSimple.php
views/comment/commentPodSimple.php
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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