Some frontend adaption for the ticket system

This commit is contained in:
Xenomporio
2022-07-22 11:15:15 +02:00
parent b2610079d6
commit 910a8544a4
5 changed files with 709 additions and 704 deletions
+1 -1
View File
@@ -2631,7 +2631,7 @@ public function NavigationHooks(&$menu)
public function AnzahlOffeneTickets($eigene=true)
{
return 0;
return (int)$this->app->DB->Select("SELECT COUNT(t.id) FROM ticket t WHERE t.status = 'neu' AND t.warteschlange IN (SELECT w.adresse FROM warteschlangen w WHERE w.adresse = '".$this->app->User->GetAdresse()."')");
}