Changeset 54 for trunk/save.php


Ignore:
Timestamp:
Feb 2, 2009, 7:38:10 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Dokončené překlady se jevily jako rozepsané i při dokončení.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/save.php

    r49 r54  
    3232  if(!$Line)
    3333  {
    34         $Columns = '`entry`, `Language` , `User` , `complete` , `Take` , `Vote` , `CountVote`';
     34        $Columns = '`entry`, `Language` , `User` , `Complete` , `Take` , `Vote` , `CountVote`';
    3535        $Values = $entry.','.$Language.','.$UserID.','.$complete.','.$TextID.', 3 ,1';
    3636        foreach($TranslationTree[$GroupId]['Items'] as $GroupItem)
     
    4646  } else
    4747  {
    48     $sql = 'UPDATE '.$Table.' SET `complete` = '.$complete;
     48    $sql = 'UPDATE '.$Table.' SET `Complete` = '.$complete;
    4949        foreach($TranslationTree[$GroupId]['Items'] as $GroupItem)
    5050          $sql .= ', `'.$GroupItem['Column'].'`="'.@$_POST[$GroupItem['Column']].'"';
Note: See TracChangeset for help on using the changeset viewer.