From 642135072a6720406ba0bf9821d5768c79eafd57 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 2 Mar 2008 20:10:43 +0000 Subject: [PATCH] Fix file type git-svn-id: http://svn.automattic.com/wordpress/trunk@7129 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-filesystem-direct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-filesystem-direct.php b/wp-admin/includes/class-wp-filesystem-direct.php index 9b0ac42ba2..06db21d9c9 100644 --- a/wp-admin/includes/class-wp-filesystem-direct.php +++ b/wp-admin/includes/class-wp-filesystem-direct.php @@ -307,7 +307,7 @@ class WP_Filesystem_Direct{ $struc['lastmod'] = date('M j',$struc['lastmodunix']); $struc['time'] = date('h:i:s',$struc['lastmodunix']); $struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f'; - if('folder' == $struc['type'] ){ + if ('d' == $struc['type'] ){ $struc['files'] = array(); if( $incdot ){