Ignore:
Timestamp:
Feb 16, 2014, 11:16:03 PM (10 years ago)
Author:
ddtddt
Message:

[extensions] - see_photos_by_user - bug if nb photos > 15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/see_photos_by_user/main.inc.php

    r27391 r27392  
    4242{
    4343 global $tokens;
    44 $testd = explode('user-', $_SERVER['REQUEST_URI']);
    45 if (!empty ($testd[1]))
    46 {$me = 'user-'.$testd[1];}
     44$testa = explode('user-', $_SERVER['REQUEST_URI']);
     45if (!empty ($testa[1]))
     46{
     47$testd= explode('/', $testa[1]);
     48$me = 'user-'.$testd[0];
     49}
    4750else
    4851{$me = 'user-';}
Note: See TracChangeset for help on using the changeset viewer.