Skip to content

Commit 47e4419

Browse files
committed
fix: impostazione categoria files
1 parent 32fe554 commit 47e4419

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

update/2_8_1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
include __DIR__.'/../config.inc.php';
44

5-
$id_categoria = $dbo->query('SELECT `id` FROM `zz_files_categories` WHERE `name` = \'fattura elettronica\'');
5+
$id_categoria = $dbo->fetchOne('SELECT `id` FROM `zz_files_categories` WHERE `name` = \'fattura elettronica\'');
66
if (empty($id_categoria)) {
7-
$dbo->query('INSERT INTO `zz_files_categories` (`name`) VALUES (\'fattura elettronica\')');
7+
$dbo->query('INSERT INTO `zz_files_categories` (`name`) VALUES (\'Fattura elettronica\')');
88
}

0 commit comments

Comments
 (0)