diff --git a/inc/search.php b/inc/search.php
index 8712114d1aabc464b185f7d0475c98348b0ca3bc..2b9a51fb36b107006c20a100c5823e37181008ec 100644
--- a/inc/search.php
+++ b/inc/search.php
@@ -604,9 +604,9 @@ function search_universal(&$data,$base,$file,$type,$lvl,$opts){
     }
 
     // still here? prepare the item
-    $item['type'] = $type;
-    $item['lvl']  = $lvl;
-    $item['open'] = $return;
+    $item['type']  = $type;
+    $item['level'] = $lvl;
+    $item['open']  = $return;
 
     if($opts['meta']){
         $item['file']       = basename($file);