Ad Widget

Collapse

WEBUI import bug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jenny
    Junior Member
    • Dec 2009
    • 5

    #1

    WEBUI import bug

    when an item exists and be imported again. it will not be updated.

    the source should be modifed as following.


    if($current_item && isset($rules['item']['exist'])){
    $item_db['itemid']=$current_item['itemid'];
    $current_item = CItem::update($item_db);
    if($current_item === false){
    error(CItem::resetErrors());
    $result = false;
    break;
    }
    }
Working...