Skip to content
Snippets Groups Projects
Commit 69c9fc0b authored by alangrafu's avatar alangrafu
Browse files

Hotfix, removing syntax sugar for a while, since it produces duplicate results.

parent 32240f4d
No related branches found
No related tags found
No related merge requests found
......@@ -294,18 +294,18 @@ class Utils{
}
if(Utils::getResultsType($query) == $conf['endpoint']['select']['output']){
$rPointer[$modelFile] = Utils::sparqlResult2Obj($aux);
if(sizeof($rPointer)>0){
/*if(sizeof($rPointer)>0){
$rPointer[$modelFile]['first'] = $rPointer[$modelFile][0];
}
}*/
}else{
$rPointer[$modelFile] = $aux;
}
}else{
if(Utils::getResultsType($query) == $conf['endpoint']['select']['output']){
$rPointer = Utils::sparqlResult2Obj($aux);
if(sizeof($rPointer)>0){
/*if(sizeof($rPointer)>0){
$rPointer['first'] = $rPointer[0];
}
}*/
}else{
$rPointer = $aux;
}
......
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