Skip to content
Snippets Groups Projects
Commit 3ed4e5b2 authored by Robin Appelman's avatar Robin Appelman
Browse files

Prevent warning

parent 9c2918a6
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
private function addResult($data, $path) {
$this->cache->put($path, $data);
if ($data['children']) {
if (isset($data['children'])) {
foreach ($data['children'] as $child) {
$this->addResult($child, ltrim($path . '/' . $child['name'], '/'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment