]> git.mxchange.org Git - friendica.git/blobdiff - mod/delegate.php
Catch HTTPExceptions in App::runFrontend()
[friendica.git] / mod / delegate.php
index 280498db61a5c59d1948de191deaede28730bf4a..4bfc0e31ba8b78879d5c47021f7f524ae9ea8606 100644 (file)
@@ -163,6 +163,8 @@ function delegate_content(App $a)
 
        if (!is_null($parent_user)) {
                $parent_password = ['parent_password', L10n::t('Parent Password:'), '', L10n::t('Please enter the password of the parent account to legitimize your request.')];
+       } else {
+               $parent_password = '';
        }
 
        $o = Renderer::replaceMacros(Renderer::getMarkupTemplate('delegate.tpl'), [