mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
Merge master into HEAD
Conflicts: include/dokument_export.class.php include/studiengang.class.php vilesci/stammdaten/reihungstestverwaltung.php
This commit is contained in:
@@ -933,10 +933,10 @@ if(!$error)
|
||||
{
|
||||
if($row = $db->db_fetch_object($result))
|
||||
{
|
||||
if($row->anzahl<=1)
|
||||
if($row->anzahl<=1 && !$rechte->isBerechtigt('admin', null, 'suid'))
|
||||
{
|
||||
$return = false;
|
||||
$errormsg = 'Die letzte Rolle darf nicht geloescht werden';
|
||||
$errormsg = 'Die letzte Rolle kann nur durch den Administrator geloescht werden';
|
||||
$error = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user