Mobipics

Bugs
2011-06-23
2013-04-24
  • Karl Henselin
    Karl Henselin
    2011-06-23

    To make it a bit more user friendly

    Replace

    // Get folder
    $folder = modMobipicsHelper::getFolder($params);

    // Get all images from that folder
    $images = modMobipicsHelper::getImages($params, $folder);

    With

    // Get folder
    $folder = modMobipicsHelper::getFolder($params);

    //a trailing slash breaks it, so…
    $folder = rtrim($folder, "/");

    // Get all images from that folder
    $images = modMobipicsHelper::getImages($params, $folder);

     
  • Karl Henselin
    Karl Henselin
    2011-06-23

    Sorry, I forgot to say that is in the file mod_mobipics.php

     
  • Johan Ekblad
    Johan Ekblad
    2011-06-23

    Thanks, just commited this change in the code, will show up in the next release