Changeset 53 for trunk


Ignore:
Timestamp:
Feb 2, 2009, 7:19:47 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Zobrazení jména uživatele místo jeho id v seznamu všech variant daného překladu (action=searchentry).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TranslationList.php

    r50 r53  
    257257  else $Search = $_POST['ID'];
    258258 
    259   $sql = 'SELECT *, (SELECT user.user FROM user WHERE user.id = '.$Table.'.user) FROM `'.$Table.'` WHERE `entry` LIKE "'.$Search.'"';
     259  $sql = 'SELECT *, (SELECT user.user FROM user WHERE user.id = '.$Table.'.user) as User FROM `'.$Table.'` WHERE `entry` LIKE "'.$Search.'"';
    260260   
    261261  WriteQuests($sql, '', 'searchentry='.$Search);
Note: See TracChangeset for help on using the changeset viewer.