Skip to content

Commit 14e5e74

Browse files
committed
Fix undefined constant typo error
1 parent e130d73 commit 14e5e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Templates/User/Delete.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ switch ($this->getContext()->error)
1010
case DeleteModel::ERROR_ACL_NOT_SET: $message = 'You do not have the privilege to delete users.'; break;
1111
case DeleteModel::ERROR_NOT_FOUND: $message = 'Cannot find user by that id.'; break;
1212
case DeleteModel::ERROR_NOT_LOGGED_IN: $message = 'You must be logged in to delete users.'; break;
13-
case DeleteModel::ERROR_INTERNAL_ERROR: $message = 'An internal error occurred while processing your request. Our staff have been notified of the issue. Try again later.'; break;
13+
case DeleteModel::ERROR_INTERNAL: $message = 'An internal error occurred while processing your request. Our staff have been notified of the issue. Try again later.'; break;
1414
default: $message = $this->getContext()->error;
1515
}
1616
$target_id = $this->getContext()->target_id;

0 commit comments

Comments
 (0)