Changeset 4909


Ignore:
Timestamp:
02/19/10 10:12:16 (10 years ago)
Author:
plg
Message:

bug fixed: use variables for table names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/amd_pip.class.inc.php

    r4905 r4909  
    9292    $tagsList=Array(); 
    9393    $sql="SELECT st.tagId, gn.name as gName 
    94           FROM (phpwebgallery_amd_selected_tags st 
    95             LEFT JOIN phpwebgallery_amd_groups gr 
     94          FROM (".$this->tables['selected_tags']." st 
     95            LEFT JOIN ".$this->tables['groups']." gr 
    9696              ON gr.groupId = st.groupId) 
    97             LEFT JOIN phpwebgallery_amd_groups_names gn 
     97            LEFT JOIN ".$this->tables['groups_names']." gn 
    9898              ON st.groupId = gn.groupId 
    9999          WHERE gn.lang='".$user['language']."' 
Note: See TracChangeset for help on using the changeset viewer.