Skip to content

Commit

Permalink
fix rollback 'Operador ternario'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreisler Ramirez committed May 2, 2022
1 parent d0524f7 commit 313b09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JSONDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function check_file()
} else {
// Read content of JSON file
$content = file_get_contents($this->file);
$content = json_decode(($content == '') ? '[]' : $content, true);
$content = json_decode($content, true);
}

// Check if its arrays of jSON
Expand Down

0 comments on commit 313b09d

Please sign in to comment.