]> source.dussan.org Git - nextcloud-server.git/commit
Fix warnings in logs when renaming over the web UI
authorVincent Petry <pvince81@owncloud.com>
Wed, 29 Jan 2014 09:43:13 +0000 (10:43 +0100)
committerVincent Petry <pvince81@owncloud.com>
Wed, 29 Jan 2014 09:43:13 +0000 (10:43 +0100)
commite6f93fc84140931d13c8e77b12fd6ec53a04457a
tree26ff98195ed1db986c3fc9837cdc1bcf1f9fa32c
parentcf2c061f1f2577b3a995d9e2423c93589d7df2b3
Fix warnings in logs when renaming over the web UI

The determineIcon() method was expecting attributes to be set which
caused warnings about undefined indices in the error log.

This fix pre-initializes the array with 'directory' and
'isPreviewAvailable' to make them disappear.
apps/files/lib/app.php