Skip to content
Snippets Groups Projects
Commit 6f95353e authored by alangrafu's avatar alangrafu Committed by GIT_AUTHOR_NAME
Browse files

Merge branch 'experimental'

parents 0d589a8f b47ddfd3
No related branches found
No related tags found
No related merge requests found
......@@ -334,15 +334,20 @@ class Utils{
public static function internalize($array){
global $conf;
$firstKeyAppearance = true;
foreach($array as $key => $value){
if(!isset($value['value'])){
$array[$key] = Utils::internalize($value);
if($firstKeyAppearance){
$firstKeyAppearance = false;
$array['_first']=$array[$key];
}
}else{
if($value['uri'] == 1){
$value['value'] = preg_replace("|^".$conf['ns']['local']."|", $conf['basedir'], $value['value']);
$value['curie'] = Utils::uri2curie($value['value']);
$array[$key] = $value;
}
}
}
}
return $array;
......
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