summaryrefslogtreecommitdiffstats
path: root/lib/installer.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-21 19:20:25 +0200
committerkondou <kondou@ts.unde.re>2013-08-21 19:20:25 +0200
commit0ce35af02acb2fa9fe0ef401dc75345b5114e3d6 (patch)
tree5ff19a7cc1bce5901cfeec7e11179ed2682b9e78 /lib/installer.php
parent7c296a6cf915da6630422ceb8e253ebf9f004964 (diff)
parenta89199cc7bd19f6ba3e76fcd510219b2bd930ae6 (diff)
downloadnextcloud-server-0ce35af02acb2fa9fe0ef401dc75345b5114e3d6.tar.gz
nextcloud-server-0ce35af02acb2fa9fe0ef401dc75345b5114e3d6.zip
Merge branch 'master' into improve_app-management
Conflicts: settings/js/apps.js
Diffstat (limited to 'lib/installer.php')
-rw-r--r--lib/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/installer.php b/lib/installer.php
index c9d331551c0..b9684eaeea0 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -107,7 +107,7 @@ class OC_Installer{
if(!is_file($extractDir.'/appinfo/info.xml')) {
//try to find it in a subdir
$dh=opendir($extractDir);
- while($folder=readdir($dh)) {
+ while (($folder = readdir($dh)) !== false) {
if($folder[0]!='.' and is_dir($extractDir.'/'.$folder)) {
if(is_file($extractDir.'/'.$folder.'/appinfo/info.xml')) {
$extractDir.='/'.$folder;