Changeset 515 for trunk/form.php


Ignore:
Timestamp:
Feb 16, 2013, 9:37:37 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Zobrazení textu bez překladatele.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/form.php

    r504 r515  
    4545  {
    4646 
    47   $IDUser = $System->Database->query('SELECT * FROM `User` WHERE `ID` = '.$Line['User']);
    48   $LineUser = $IDUser->fetch_array();
     47  if(Line['User']) != '')
     48  {
     49    $IDUser = $System->Database->query('SELECT * FROM `User` WHERE `ID` = '.$Line['User']);
     50    $LineUser = $IDUser->fetch_array();
     51  } else
     52    $LineUSer = array('Name' => '');
    4953 
    5054  $Output .= 'Skupina: <strong>'.$TranslationTree[$GroupId]['Name'].'</strong><br />';
Note: See TracChangeset for help on using the changeset viewer.