Prevent warning

This commit is contained in:
Robin Appelman 2014-06-16 16:12:32 +02:00
parent 9c2918a626
commit 3ed4e5b26b
1 changed files with 1 additions and 1 deletions

View File

@ -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'], '/'));
}