From 32d6093df4da46b323b53cb646514212aa4141ea Mon Sep 17 00:00:00 2001
From: Andreas Gohr <gohr@cosmocode.de>
Date: Wed, 16 Dec 2009 16:25:27 +0100
Subject: [PATCH] fixed level attribute in universal search

Ignore-this: 2b76ec324372c93371793344e0dbadde

darcs-hash:20091216152527-6e07b-7fc6fd3514cf42684d6dd95f419b709a9bdc0b94.gz
---
 inc/search.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/inc/search.php b/inc/search.php
index 8712114d1..2b9a51fb3 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);
-- 
GitLab