As they dont' have $result['node'].
a simple patch is enough.

CommentFileSizeAuthor
#1 1773506-drush-file-entity-notice.patch1.04 KBdrzraf

Comments

drzraf’s picture

Status: Active » Needs review
StatusFileSize
new1.04 KB

* use $result['fields']['path'] instead of building the path
* don't print user/uid if the item is a file entity
* trim() the leading whitespace from the extract

nick_vh’s picture

Version: 7.x-1.x-dev » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

Looking good, tested and very minor impact so approved. Committed to 7.x-1.x

nick_vh’s picture

Status: Patch (to be ported) » Fixed

added brackets to your if in 7.x-1.x and 6.x-3.x - committed to both

nick_vh’s picture

Status: Fixed » Closed (fixed)

closing to clear out the issue queue a bit