Fix type error when exporting triggers to ODF

Introduced by a78a7a0c9c.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2021-03-03 21:42:15 -03:00
parent cd251b9e3a
commit 0406e47128
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8

View File

@ -727,7 +727,7 @@ class ExportOdt extends ExportPlugin
);
break;
case 'triggers':
$triggers = $dbi->getTriggers($db, $table, $aliases);
$triggers = $dbi->getTriggers($db, $table);
if ($triggers) {
$GLOBALS['odt_buffer']
.= '<text:h text:outline-level="2" text:style-name="Heading_2"'