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:
parent
b59915f23b
commit
a1257126bc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue