Changeset 30404 for extensions


Ignore:
Timestamp:
Nov 10, 2014, 12:03:52 AM (10 years ago)
Author:
ddtddt
Message:

[extensions] - Photo_add_by - compatibilité see_photo_by_user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Photo_add_by/initpicture.php

    r27458 r30404  
    6464{
    6565$query2 = '
    66 SELECT UT.id, UT.username, COUNT(DISTINCT(IT.id)) AS PBU, IT.id
     66SELECT UT.id, UT.username, COUNT(DISTINCT(IT.id)) AS PBU
    6767 FROM ' . USERS_TABLE . ' as UT
    6868 INNER JOIN '.IMAGES_TABLE.' AS IT ON IT.added_by = UT.id
     
    9292if(in_array($pab, $userok) and $showpab == 1 and $PASPBY['state'] == 'active')
    9393{
    94 $urlpab = get_root_url().'index.php?/user-'.($pab);
     94$urlpab = get_root_url().'index.php?/user-'.$userab.'-'.$pab;
    9595$pab2 ='<a href="'.$urlpab.'">'.$pab.'</a>';
    9696}
Note: See TracChangeset for help on using the changeset viewer.