mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-30 07:26:24 +01:00
Fix upload plugins
This commit is contained in:
parent
783fd1a9c6
commit
cd80a18bca
@ -154,12 +154,12 @@ if (file_exists($extraction_dir.'/VERSION')) {
|
|||||||
'enabled' => 1,
|
'enabled' => 1,
|
||||||
]));
|
]));
|
||||||
$id_record = $dbo->lastInsertedID();
|
$id_record = $dbo->lastInsertedID();
|
||||||
$dbo->insert($table.'_lang', array_merge($insert, [
|
$dbo->insert($table.'_lang', [
|
||||||
'name' => $info['name'],
|
'name' => $info['name'],
|
||||||
'title' => !empty($info['title']) ? $info['title'] : $info['name'],
|
'title' => !empty($info['title']) ? $info['title'] : $info['name'],
|
||||||
'id_record' => $id_record,
|
'id_record' => $id_record,
|
||||||
'id_lang' => Models\Locale::getDefault()->id,
|
'id_lang' => Models\Locale::getDefault()->id,
|
||||||
]));
|
]);
|
||||||
flash()->error(tr('Installazione completata!'));
|
flash()->error(tr('Installazione completata!'));
|
||||||
} else {
|
} else {
|
||||||
flash()->error(tr('Aggiornamento completato!'));
|
flash()->error(tr('Aggiornamento completato!'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user