Fixed updating own user options
authorAlexander Ebert <ebert@woltlab.com>
Mon, 25 Jul 2016 15:19:58 +0000 (17:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 25 Jul 2016 15:19:58 +0000 (17:19 +0200)
wcfsetup/install/files/lib/data/user/UserAction.class.php

index c04935cb9c72dcfdf3c52265f5fbf21487ca69a6..dbce28134be884ae96754d10d35bc03d4095e243 100644 (file)
@@ -172,8 +172,9 @@ class UserAction extends AbstractDatabaseObjectAction implements IClipboardActio
                                        throw new PermissionDeniedException();
                                }
                        }
-                       
-                       throw new PermissionDeniedException();
+                       else {
+                               throw new PermissionDeniedException();
+                       }
                }
        }