forked from extern/egroupware
Import/Export: Avoid "Undefined variable: filter" error
This commit is contained in:
parent
9219536c2f
commit
d57df627a7
@ -93,9 +93,12 @@ class importexport_definition implements importexport_iface_egw_record {
|
|||||||
{
|
{
|
||||||
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
||||||
$this->definition['plugin_options'] = (array)$options_data['root'];
|
$this->definition['plugin_options'] = (array)$options_data['root'];
|
||||||
if($this->definition['filter']) $filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
if($this->definition['filter'])
|
||||||
|
{
|
||||||
|
$filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
||||||
$this->definition['filter'] = $filter['root'];
|
$this->definition['filter'] = $filter['root'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Throwable $e)
|
catch (Throwable $e)
|
||||||
{
|
{
|
||||||
error_log(__METHOD__ . " Error constructing definition " .
|
error_log(__METHOD__ . " Error constructing definition " .
|
||||||
|
25
lit-element-starter-ts/src/my-input.ts
Normal file
25
lit-element-starter-ts/src/my-input.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Copyright 2019 Google LLC
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {LitElement, html, css} from 'lit';
|
||||||
|
import {customElement, property} from 'lit/decorators.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An example element.
|
||||||
|
*
|
||||||
|
* @slot - This element has a slot
|
||||||
|
* @csspart button - The button
|
||||||
|
*/
|
||||||
|
@customElement('my-input')
|
||||||
|
export class MyInput extends LitElement {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
interface HTMLElementTagNameMap {
|
||||||
|
'my-input': MyInput;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user