Merge master into HEAD

Conflicts:
	include/dokument_export.class.php
	include/studiengang.class.php
	vilesci/stammdaten/reihungstestverwaltung.php
This commit is contained in:
Paolo
2016-08-18 16:23:11 +02:00
116 changed files with 10682 additions and 5335 deletions
+2 -2
View File
@@ -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;
}
}