mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2025-01-22 00:12:32 -05:00
wordnik bugfix
This commit is contained in:
parent
4e968b4b1c
commit
cfad4fb035
1 changed files with 4 additions and 1 deletions
|
@ -1212,7 +1212,10 @@ class ddg{
|
|||
);
|
||||
}
|
||||
|
||||
if(count($words) !== 0){
|
||||
if(
|
||||
count($words) !== 0 &&
|
||||
isset($related["relationshipType"])
|
||||
){
|
||||
|
||||
$relations[ucfirst($related["relationshipType"]) . "s"] =
|
||||
implode(", ", $words);
|
||||
|
|
Loading…
Add table
Reference in a new issue