This commit is contained in:
parent
c21cf7f127
commit
401c734ab9
|
@ -75,7 +75,7 @@ class QaController extends base
|
||||||
if (empty($post['city_id'])) return $this->error(2001, 'city_id data cannot be empty!');
|
if (empty($post['city_id'])) return $this->error(2001, 'city_id data cannot be empty!');
|
||||||
if (empty($post['title'])) return $this->error(2001, 'title data cannot be empty!');
|
if (empty($post['title'])) return $this->error(2001, 'title data cannot be empty!');
|
||||||
|
|
||||||
$qaQuestion = $post['qaQuestions'];
|
$qaQuestion = $post['qaQuestions'] ?? null;
|
||||||
unset($post['qaQuestions']);
|
unset($post['qaQuestions']);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue