Support » Plugin: BP Group Documents » Bugfix for broken icon link

  • Resolved sanderbontje


    Thanks for picking up the work on this plugin!

    I have found a small error. After uploading an Illustrator file with the .eps extension, the icon for page_white_vector is inserted. But the link to the icon image misses its extension:

    <img class="bp-group-documents-icon" src="" alt="" />
    should be
    <img class="bp-group-documents-icon" src="" alt="" />

    It’s in the file bp-group-documents/include/classes.php at line 533:
    'eps' => 'page_white_vector',
    change it to
    'eps' => 'page_white_vector.png',
    and while you’re at it take a look at line 551 and change it to:
    'msp' => 'page_white_paintbrush.png',

    Best wishes,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bugfix for broken icon link’ is closed to new replies.