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