array name mistake : ps
This commit is contained in:
parent
a345bb3305
commit
7c804047e4
@ -1319,7 +1319,7 @@ class Template_Management_Controller extends REST_Controller {
|
|||||||
$json_table = $this->Template_Management_Model->selectCustomRecords($fields,$where_condition_array,TEMPLATE_JSON_V2);
|
$json_table = $this->Template_Management_Model->selectCustomRecords($fields,$where_condition_array,TEMPLATE_JSON_V2);
|
||||||
if(count($json_table)>0){
|
if(count($json_table)>0){
|
||||||
$json = json_decode($json_table[0]['json'],true);
|
$json = json_decode($json_table[0]['json'],true);
|
||||||
if(isset($value1['questions'][0]['question_key']) ){
|
if(isset($json['questions'][0]['question_key']) ){
|
||||||
$quest = $json['questions'];
|
$quest = $json['questions'];
|
||||||
}else{
|
}else{
|
||||||
$quest = $json['questions'][0]['question'];
|
$quest = $json['questions'][0]['question'];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user