Make WordPress Core

Changeset 7129


Ignore:
Timestamp:
03/02/2008 08:10:43 PM (17 years ago)
Author:
ryan
Message:

Fix file type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-direct.php

    r7128 r7129  
    308308            $struc['time']      = date('h:i:s',$struc['lastmodunix']);
    309309            $struc['type']      = $this->is_dir($path.'/'.$entry) ? 'd' : 'f';
    310             if('folder' == $struc['type'] ){
     310            if ('d' == $struc['type'] ){
    311311                $struc['files'] = array();
    312312               
Note: See TracChangeset for help on using the changeset viewer.