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

Commit

Permalink
Update UserField.php (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
MsNatali authored and arrilot committed Oct 25, 2018
1 parent 8501892 commit c321ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Constructors/UserField.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function update($id)
*/
public static function delete($id)
{
$result = \CUserTypeEntity::Delete($id);
$result = (new \CUserTypeEntity())->Delete($id);

if (!$result) {
global $APPLICATION;
Expand Down Expand Up @@ -355,4 +355,4 @@ protected static function prepareUf($name)

return $name;
}
}
}

0 comments on commit c321ad0

Please sign in to comment.