From 7bfbfe6562a7dbcecdc05b60214a0da83760c4a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= <schiessle@owncloud.com>
Date: Tue, 19 Feb 2013 12:24:51 +0100
Subject: [PATCH] initialize $result

---
 apps/files_trashbin/index.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index 5d6b5d94e5..d0b3030dbf 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -16,6 +16,7 @@ OCP\Util::addScript('files', 'filelist');
 
 $dir = isset($_GET['dir']) ? stripslashes($_GET['dir']) : '';
 
+$result = array();
 if ($dir) {
 	$dirlisting = true;
 	$view = new \OC_FilesystemView('/'.\OCP\User::getUser().'/files_trashbin');
-- 
GitLab