This commit is contained in:
afornerot 2019-06-19 17:01:38 +02:00
parent c8c5d85e47
commit d271d969a6
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class FeedController extends Controller
$fs = new Filesystem();
if($fs->exists($directory."/invitation.json")) {
$file=file_get_contents($directory."/invitation.json");
$file=file_get_contents($directory."/ .json");
$json = substr($file, 0, -2); // sup dernier ,
$surveys = json_decode("{".$json."}", true);
foreach($surveys as $id => $survey) {