Show
Ignore:
Timestamp:
11/25/06 17:01:24 (14 years ago)
Author:
exi
Message:

Update to item_values mod to reflect the db changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.kill.php

    r92 r94  
    780780                $id = $this->item_->getID(); // get Item ID 
    781781                $qry = new DBQuery(); 
    782         $qry->execute("select value from kb3_items where itm_id= '".$id."'"); 
     782        $qry->execute("select itm_value from kb3_items where itm_id= '".$id."'"); 
    783783        $row = $qry->getRow(); 
    784         $value = $row['value']; 
    785                 if ($value == "") 
     784        $value = $row['itm_value']; 
     785                if ($value == '') 
    786786        { 
    787787                        $value = 0;