diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 22:14:53 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 22:14:53 +0400 |
commit | f799908e33257b71d4bde341de000c3ce2c84323 (patch) | |
tree | 406b07624e7c09b7585efa0cd0151bffac9216a7 /search | |
parent | 43b1fe950626247bced1b3a4c2780a5b5f8a52f6 (diff) |
Remove sanitization parameter from assign
Diffstat (limited to 'search')
-rw-r--r-- | search/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/search/index.php b/search/index.php index 18d1b6185..ce0416c40 100644 --- a/search/index.php +++ b/search/index.php @@ -63,14 +63,14 @@ if (is_array($results)) { }
}
$list = new OCP\Template('files', 'part.list', '');
-$list->assign('files', $files, false);
-$list->assign('baseURL', OCP\Util::linkTo('files', 'index.php') . '?dir=', false);
-$list->assign('downloadURL', OCP\Util::linkTo('files', 'download.php') . '?file=', false);
+$list->assign('files', $files);
+$list->assign('baseURL', OCP\Util::linkTo('files', 'index.php') . '?dir=');
+$list->assign('downloadURL', OCP\Util::linkTo('files', 'download.php') . '?file=');
// populate main template
$tmpl = new OCP\Template('search', 'index', 'user');
$tmpl->assign('files', $files);
-$tmpl->assign('fileList', $list->fetchPage(), false);
-$tmpl->assign('breadcrumb', $query, true);
+$tmpl->assign('fileList', $list->fetchPage());
+$tmpl->assign('breadcrumb', $query);
$tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->printPage();
\ No newline at end of file |