diff options
author | kondou <kondou@ts.unde.re> | 2013-08-21 19:20:25 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-21 19:20:25 +0200 |
commit | 0ce35af02acb2fa9fe0ef401dc75345b5114e3d6 (patch) | |
tree | 5ff19a7cc1bce5901cfeec7e11179ed2682b9e78 /lib/installer.php | |
parent | 7c296a6cf915da6630422ceb8e253ebf9f004964 (diff) | |
parent | a89199cc7bd19f6ba3e76fcd510219b2bd930ae6 (diff) | |
download | nextcloud-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.php | 2 |
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; |