Skip to content
Snippets Groups Projects
Commit 97581913 authored by alvaro's avatar alvaro
Browse files

Fixed bug that prevented LODSPeaKr to serve non-HTML content in a cherry-picked component.

parent a26b1d6e
No related branches found
No related tags found
No related merge requests found
...@@ -173,6 +173,10 @@ class TypeModule extends abstractModule{ ...@@ -173,6 +173,10 @@ class TypeModule extends abstractModule{
$objResult['viewFile'] = $lodspk['view']; $objResult['viewFile'] = $lodspk['view'];
$objResult['modelFile'] = $lodspk['model']; $objResult['modelFile'] = $lodspk['model'];
$found = true; $found = true;
if(!file_exists($objResult['viewFile']) ){
$lodspk['transform_select_query'] = true;
$objResult['viewFile'] = null;
}
return $objResult; return $objResult;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment