mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +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']);
|
$class = VisualConsole::getItemClass((int) $data['type']);
|
||||||
try {
|
try {
|
||||||
// Save the new item.
|
// Save the new item.
|
||||||
$result = $class::save($data);
|
$result = $class::create($data);
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
// There is no item in the database.
|
// There is no item in the database.
|
||||||
echo false;
|
echo false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user