'sku' => $sku[0]['sku'],
'sku' => (isset($sku[0]['sku']))?$sku[0]['sku']:'',
'sku' => (isset($sku[0]['sku']))?$sku[0]['sku']:$product['sku'],
file name="admin/controller/sale/order.php"
$this->db->query("UPDATE " . DB_PREFIX . "ptslider SET name = '" . $this->db->escape($data['name']) . "', status = '" . (int) $data['status'] . "', auto = '" . (int) $data['auto'] . "', delay = '" . (int) $data['delay'] . "', hover = '" . (int) $data['hover'] . "', nextback = '" . (int) $data['nextback'] . "', effect = '" . $data['effect'] . "', contrl = '" . (int) $data['contrl'] . "' WHERE ptslider_id = '" . (int) $ptslider_id . "'");
if(!isset($data['effect'])) {
$data['effect'] = '';
}