From f537125756b9e3099a9c1962f9253173a52e08c9 Mon Sep 17 00:00:00 2001 From: WS64 Date: Mon, 13 Oct 2014 15:40:48 +0200 Subject: [PATCH] Bugfix --- frontend/apps/filemanager/filemanagersearch.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/apps/filemanager/filemanagersearch.lua b/frontend/apps/filemanager/filemanagersearch.lua index d4add2dc1..14be06b11 100644 --- a/frontend/apps/filemanager/filemanagersearch.lua +++ b/frontend/apps/filemanager/filemanagersearch.lua @@ -261,9 +261,9 @@ function Search:find(option) self.data[i][self.tags2] = "" self.data[i][self.tags3] = "" end - while line ~= " ], " do + while line ~= " ], " and line ~= " ]" do line = f:read() - if line ~= " ], " then + if line ~= " ], " and line ~= " ]" then self.data[i][s] = self.data[i][s] .. "," .. ReplaceHexChars(line,8,3) if s == self.authors then self.data[i][self.authors2] = self.data[i][self.authors2] .. " & " .. ReplaceHexChars(line,8,3)