1
0
Fork 0
forked from blallo/rss-bridge

[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)
This commit is contained in:
logmanoriginal 2016-08-06 18:38:42 +02:00
parent b59915f23b
commit a1257126bc

View file

@ -113,8 +113,8 @@ try{
} else { } else {
$bridge->setCache($cache); // just add disable cache to your query to disable caching $bridge->setCache($cache); // just add disable cache to your query to disable caching
} }
$bridge->setDatas($_REQUEST);
$bridge->loadMetadatas(); $bridge->loadMetadatas();
$bridge->setDatas($_REQUEST);
// Data transformation // Data transformation
try { try {
$format = Format::create($format); $format = Format::create($format);