Ignore:
Timestamp:
Aug 6, 2012, 5:34:23 PM (8 years ago)
Author:
mistic100
Message:

bug with albums with close names
bug with apostrophe in albums name and description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pbase2piwigo/include/functions.inc.php

    r17314 r17434  
    1111  // html files are cached 10000 seconds
    1212  $cache_id_prefix = str_replace('http://www.pbase.com/', null, $url);
    13   $cache_id_prefix = preg_replace('#([^a-z0-9]+)#i', null, $cache_id_prefix);
     13  $cache_id_prefix = preg_replace('#([^a-z0-9-_]+)#i', null, $cache_id_prefix);
    1414  $cache_id = $cache_id_prefix.'-'.substr(time(), 0, -4);
    1515 
Note: See TracChangeset for help on using the changeset viewer.