Fehlerbereinigungen

This commit is contained in:
aschwarz
2023-03-28 19:02:02 +02:00
parent 797310c5ff
commit a675b295e7
10 changed files with 51 additions and 30 deletions

View File

@ -11,7 +11,7 @@ include_once '../classes/TestProjektSmarty.class_subdir.php';
require_once("../config.inc.php");
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
$smarty = new SmartyAdmin();
if(!rechte(basename(__FILE__), $uid)){
if(!rechte('__noright__', $uid)){
echo "<meta http-equiv=\"refresh\" content=\"0; URL=error.php\">";
exit;
}

View File

@ -22,7 +22,7 @@ if (isset($_GET['action'])) {
if ($action == '') {
$query1 = "SELECT umid, date_format(datum_von, '%d.%m.%Y (%h:%i)') datum_von, date_format(datum_bis, '%d.%m.%Y (%h:%i)') datum_bis, headline
$query1 = "SELECT umid, date_format(datum_von, '%d.%m.%Y (%H:%i)') datum_von, date_format(datum_bis, '%d.%m.%Y (%H:%i)') datum_bis, headline
FROM jumi_umfragen
ORDER BY umid DESC";