From 10c0c566342ef8665ba2bf7e63ff811d108a91ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1zhan?= Date: Mon, 19 Apr 2021 13:24:39 +0300 Subject: [PATCH] Update Admin.php --- src/bb-modules/Formbuilder/Api/Admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bb-modules/Formbuilder/Api/Admin.php b/src/bb-modules/Formbuilder/Api/Admin.php index 5f7bbb493..8d45988e1 100644 --- a/src/bb-modules/Formbuilder/Api/Admin.php +++ b/src/bb-modules/Formbuilder/Api/Admin.php @@ -271,7 +271,7 @@ class Admin extends \Api_Abstract /** - * Dublicate form with its fields in database + * Duplicate form with its fields in database * * @param int $form_id - ID of the origin form * @param string $name - Name of copied form @@ -290,7 +290,7 @@ class Admin extends \Api_Abstract } $service = $this->getService(); - $new_form_id = $service->dublicateForm($data); + $new_form_id = $service->duplicateForm($data); return $new_form_id; } @@ -325,4 +325,4 @@ class Admin extends \Api_Abstract } -} \ No newline at end of file +}