(empty($userid) ? (int)$user['id'] : (int)$userid), '_idsession' => (empty($sessionid) ? (int)$session['id'] : (int)$sessionid), '_iditem' => (empty($iditem) ? null : (int)$iditem), '_code' => $code, '_isexpense' => (empty($isexpense) ? null : (int)$isexpense), '_isdebt' => (empty($isdebt) ? null : (int)$isdebt), '_isloan' => (empty($isloan) ? null : (int)$isloan), '_isnotes' => (empty($isnotes) ? null : (int)$isnotes), '_istfa_enabled' => (empty($istfa_enabled) ? null : (int)$istfa_enabled), '_istfa_disabled' => (empty($istfa_disabled) ? null : (int)$istfa_disabled), '_isexporting' => (empty($isexporting) ? null : (int)$isexporting), '_isimporting' => (empty($isimporting) ? null : (int)$isimporting), '_isdeletedata' => (empty($isdeletedata) ? null : (int)$isdeletedata), '_occurred' => time() ), 'insert'); } ?>