From 373414d5c0cd7545060fd0d42299dac5dfabc09a Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Tue, 28 May 2019 00:11:38 -0600 Subject: [PATCH] Fix dictionary not returning alphabeticalOrder; Needs fix to include in db! --- src/php/api/Dictionary.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/php/api/Dictionary.php b/src/php/api/Dictionary.php index 69cb1fd..a1bc1c3 100644 --- a/src/php/api/Dictionary.php +++ b/src/php/api/Dictionary.php @@ -103,6 +103,7 @@ VALUES ($new_id, ?, ?, ?, ?)"; 'description' => $result['description'], 'createdBy' => $result['public_name'], 'partsOfSpeech' => explode(',', $partsOfSpeech), + 'alphabeticalOrder' => array(), 'details' => array( 'phonology' => array( 'consonants' => $result['consonants'] !== '' ? explode(' ', $result['consonants']) : array(), @@ -172,6 +173,7 @@ VALUES ($new_id, ?, ?, ?, ?)"; 'specification' => $result['specification'], 'description' => $result['description'], 'partsOfSpeech' => explode(',', $partsOfSpeech), + 'alphabeticalOrder' => array(), 'details' => array( 'phonology' => array( 'consonants' => $result['consonants'] !== '' ? explode(' ', $result['consonants']) : array(),