Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit c321ad0

Browse files
MsNataliarrilot
authored andcommitted
Update UserField.php (#12)
1 parent 8501892 commit c321ad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Constructors/UserField.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function update($id)
5757
*/
5858
public static function delete($id)
5959
{
60-
$result = \CUserTypeEntity::Delete($id);
60+
$result = (new \CUserTypeEntity())->Delete($id);
6161

6262
if (!$result) {
6363
global $APPLICATION;
@@ -355,4 +355,4 @@ protected static function prepareUf($name)
355355

356356
return $name;
357357
}
358-
}
358+
}

0 commit comments

Comments
 (0)