diff --git a/lizmap/modules/lizmap/controllers/edition.classic.php b/lizmap/modules/lizmap/controllers/edition.classic.php index 3d16e8ebd2..d05b147a3e 100644 --- a/lizmap/modules/lizmap/controllers/edition.classic.php +++ b/lizmap/modules/lizmap/controllers/edition.classic.php @@ -1483,7 +1483,7 @@ public function editableFeatures() $rep->setContentCallback(function () use ($inputGenerator) { $output = Psr7\Utils::streamFor(fopen('php://output', 'w+')); - $input = Psr7\Utils::streamFor($inputGenerator); + $input = Psr7\Utils::streamFor($inputGenerator()); Psr7\Utils::copyToStream($input, $output); });