correct return of method getTextinputQuest() of class TextinputQuesttypeModel
This commit is contained in:
parent
1b60466a76
commit
233c2d38e9
1 changed files with 4 additions and 1 deletions
|
|
@ -38,9 +38,12 @@
|
||||||
'i',
|
'i',
|
||||||
$questId
|
$questId
|
||||||
);
|
);
|
||||||
|
if(!empty($data)) {
|
||||||
|
return $data[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return $data[0];
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue