[inline:x] displays nothing for non-image files.
if title is not specified, using the [inline:x=title] format, then the $file->description must be displayed.

Here is a patch.

Comments

he_who_shall_not_be_named’s picture

StatusFileSize
new1.74 KB

This patch is better because of the $file->name does not exist and it is eliminated or replaced, also.

sun’s picture

Priority: Critical » Normal

Please do not mark issues critical as long as your Drupal installation isn't broken.

he_who_shall_not_be_named’s picture

Critical for inline, not for Drupal. :)
Anyway, I'm using a modified version of this module, you can close this bug.

sun’s picture

Status: Needs review » Fixed
sun’s picture

Assigned: Unassigned » sun
Status: Fixed » Patch (to be ported)

Needs to be ported for DRUPAL-4-7.

sun’s picture

Status: Patch (to be ported) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)