Commit 8fcedd5c authored by Kgneo's avatar Kgneo

fix

parent 2963a774
......@@ -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"]; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment