Commit 7438eeaf authored by Krzysztof Kutt's avatar Krzysztof Kutt
Browse files

solution for 'PHP Fatal error: Cannot pass parameter 2 by reference' in SPARQL Endpoint

Showing with 1 addition and 1 deletion
+1 -1
......@@ -12,7 +12,7 @@ if(isset($_GET['query']) AND !empty($_GET['query']) AND
isset($_GET['format']) AND !empty($_GET['format']) AND in_array(strtolower($_GET['format']), $formats)) {
$sparql = new LokiUtlSparql();
echo $sparql->process_sparql($_GET['query'],null,strtolower($_GET['format']));
echo $sparql->process_sparql($_GET['query'],$a=null,strtolower($_GET['format']));
} else {
require_once './form.php';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment