We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 556cc97 + b7ddab6 commit e8c0515Copy full SHA for e8c0515
src/Index.php
@@ -754,6 +754,8 @@ public function getInfo( string $indexName = NULL ) {
754
private function normalizeInfoArray( array $redisArray ) {
755
$newArray = array();
756
for ( $i = 0; $i < count( $redisArray ); $i += 2 ) {
757
+ $tmp = &$lookup_table[$key];
758
+ if(isset($tmp)){
759
if ( $redisArray[$i] === 'fields' ) {
760
foreach ( $redisArray[ $i + 1 ] as $field ) {
761
$fieldName = $field[0];
@@ -775,6 +777,7 @@ private function normalizeInfoArray( array $redisArray ) {
775
777
$newArray[ $redisArray[$i] ] = $this->normalizeInfoArray( $redisArray[$i + 1] );
776
778
}
779
780
+ }
781
return $newArray;
782
783
0 commit comments