From a1257126bc366c97cbdd3903a88cc9f2d5f8a1fa Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sat, 6 Aug 2016 18:38:42 +0200 Subject: [PATCH] [index] Make sure metadata is loaded before requesting data loadMetadatas must be executed before setDatas to load all metadatas before using them in collectData (called by setDatas) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 57cb12f..ec74915 100644 --- a/index.php +++ b/index.php @@ -113,8 +113,8 @@ try{ } else { $bridge->setCache($cache); // just add disable cache to your query to disable caching } - $bridge->setDatas($_REQUEST); $bridge->loadMetadatas(); + $bridge->setDatas($_REQUEST); // Data transformation try { $format = Format::create($format);