Frontend: Hinweis entfernt keine Freigeschaltet-Meldung mehr im Formular und Ergebnis; Inhalte bleiben sichtbar ohne Banner.
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
This commit is contained in:
@@ -6,7 +6,7 @@ add_shortcode('konficastle_workshop_ergebnis', function($atts) {
|
||||
global $wpdb;
|
||||
$wahl = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}kc_wahlen WHERE id=$wahl_id");
|
||||
if(!$wahl) return '';
|
||||
if($wahl->freigegeben) return '<div style="color:#e12b2b;font-weight:bold;"></div>';
|
||||
// Keine Warnmeldung im Frontend anzeigen, Ergebnisse weiterhin darstellen
|
||||
|
||||
// Workshops für diese Wahl holen
|
||||
$workshops = $wpdb->get_results(
|
||||
|
||||
Reference in New Issue
Block a user