mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
php8 vc Copy item
This commit is contained in:
parent
a1546ba080
commit
59b0b71303
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user