X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fcommands%2Fhtml%2Fclass_HtmlConfirmCommand.php;fp=framework%2Fmain%2Fclasses%2Fcommands%2Fhtml%2Fclass_HtmlConfirmCommand.php;h=79f8bdf4968ebe6d0626adf0712d2f77a3218d2d;hp=93eee3bbcfafcc9e3edacb74dbcd7fd3b7ab0c64;hb=73c0372c1dfd123b7b646ef359af1cd98c130ae7;hpb=92f69947ebf2dcdb696ae229a7a15bcc7b5910cc diff --git a/framework/main/classes/commands/html/class_HtmlConfirmCommand.php b/framework/main/classes/commands/html/class_HtmlConfirmCommand.php index 93eee3bb..79f8bdf4 100644 --- a/framework/main/classes/commands/html/class_HtmlConfirmCommand.php +++ b/framework/main/classes/commands/html/class_HtmlConfirmCommand.php @@ -114,7 +114,7 @@ class HtmlConfirmCommand extends BaseCommand implements Commandable { // Get user instance try { - $userInstance = ObjectRegistry::getRegistry()->getInstance('user'); + $userInstance = ObjectRegistry::getRegistry('generic')->getInstance('user'); } catch (NullPointerException $e) { // Not found user, e.g. when the user is somehow invalid $responseInstance->redirectToConfiguredUrl('html_cmd_user_is_null');