php8 vc Copy item

This commit is contained in:
fbsanchez 2022-01-13 11:31:11 +01:00
parent a1546ba080
commit 59b0b71303
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ if ($getVisualConsole === true) {
$class = VisualConsole::getItemClass((int) $data['type']);
try {
// Save the new item.
$result = $class::save($data);
$result = $class::create($data);
} catch (\Throwable $th) {
// There is no item in the database.
echo false;