Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Bei nicht-eingeloggten User wird auf Userprofil-Seite Sidebar+Footer 2x ausgegeben #15

Closed
oliveratgithub opened this issue Nov 6, 2019 · 0 comments
Assignees
Labels
bug Something isn't working php

Comments

@oliveratgithub
Copy link
Contributor

oliveratgithub commented Nov 6, 2019

Im profil.php folgt nach der Ausgabe eines Userprofils, aufgrund URL-request mit User-ID (z.B. /user/117) eine weitere, ungenügend spezifizierte if()-Abfrage, was bei Besuchern dazu führt, dass erneut die Smarty-Funktion für den Footer aufgerufen wird:

$smarty->display('file:layout/footer.tpl');

Die folgende if()-Abfrage muss daher verbessert werden um die doppelte Contentausgabe zu vermeiden:

if (!$user->is_loggedin())

zorg v4_0_0 - Userprofile outputs Sidebar and Footer 2x

@oliveratgithub oliveratgithub added bug Something isn't working php labels Nov 6, 2019
@oliveratgithub oliveratgithub self-assigned this Nov 6, 2019
@oliveratgithub oliveratgithub added this to Needs triage in zorg Code 4.0.0 via automation Nov 6, 2019
@oliveratgithub oliveratgithub moved this from Needs triage to High priority in zorg Code 4.0.0 Nov 6, 2019
oliveratgithub added a commit that referenced this issue Nov 6, 2019
zorg Code 4.0.0 automation moved this from High priority to Closed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working php
Projects
No open projects
zorg Code 4.0.0
  
Closed
Development

No branches or pull requests

1 participant