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

fixed small bugs when sparql endpoint don't exist.

tested briefly in types
parent aced42bc
No related branches found
No related tags found
No related merge requests found
......@@ -705,10 +705,11 @@ class Utils{
'template_dir' => $viewPath,
'cache_dir' => $conf['home'].'cache/',
));
$rdf = new stdClass();
if(isset($data['rdf'])){
$rdf = $data['rdf'];
$rdf = null;
if(array_key_exists('rdf', $data)){
$rdf = $data['rdf'];
unset($data['rdf']);
}else{
}
$models = $data;
Convert::getPaths($models, "");
......
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