Skip to content

Commit 85d958f

Browse files
committed
Fix wrong dataset variable name. This was affecting datasets file to import smaller than 10M. This bug was only existing in the DMT 3.2.0
1 parent 014b4c1 commit 85d958f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

converters/default/defaultConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,8 @@ function import_file($dataset, $file, $sparql, $osf_ini)
760760
if(filesize($file) < 10000000)
761761
{
762762
// If the file is not too big, then use the SPARQL UPDATE LOAD statement
763-
$sparql->query('load <file://'.$file.'> into graph <'.$importDataset.'>');
764-
763+
$sparql->query('load <file://'.$file.'> into graph <'.$dataset.'>');
764+
765765
if($sparql->error())
766766
{
767767
cecho("Error: can't import the file: $file, into the triple store [".$sparql->errormsg()."]\n", 'RED');

0 commit comments

Comments
 (0)