diff --git a/www-ssl/inc/funktion_schichtplan.php b/www-ssl/inc/funktion_schichtplan.php
index e67c11a6..b917b38d 100755
--- a/www-ssl/inc/funktion_schichtplan.php
+++ b/www-ssl/inc/funktion_schichtplan.php
@@ -201,10 +201,14 @@ function CreateRoomShifts( $raum )
$ErgSonder = mysql_query($SQLSonder, $con);
if( (mysql_num_rows( $ErgSonder) > 1) )
{
- echo Get_Text("pub_schichtplan_colision"). " ".
- mysql_result($ErgSonder, $i, "DateS").
- " '". mysql_result($ErgSonder, $i, "Man"). "' ".
- " (". mysql_result($ErgSonder, $i, "SID"). " R$raum) (00-24)
";
+ if( $_SESSION['CVS'][ "admin/schichtplan.php" ] == "Y" )
+ {
+ echo "
". Get_Text("pub_schichtplan_colision"). "
";
+ echo "".
+ mysql_result($ErgSonder, 0, "DateS").
+ " '". mysql_result($ErgSonder, 0, "Man"). "' (00-24)".
+ "
\n\t\t";
+ }
}
elseif( (mysql_num_rows( $ErgSonder) == 1) )
{
@@ -228,10 +232,14 @@ function CreateRoomShifts( $raum )
$ErgSonder = mysql_query($SQLSonder, $con);
if( (mysql_num_rows( $ErgSonder) > 1) )
{
- echo Get_Text("pub_schichtplan_colision"). " ".
- mysql_result($ErgSonder, $i, "DateS").
- " '". mysql_result($ErgSonder, $i, "Man"). "' ".
- " (". mysql_result($ErgSonder, $i, "SID"). " R$raum) (00-xx)
";
+ if( $_SESSION['CVS'][ "admin/schichtplan.php" ] == "Y" )
+ {
+ echo "". Get_Text("pub_schichtplan_colision"). "
";
+ echo "".
+ mysql_result($ErgSonder, 0, "DateS").
+ " '". mysql_result($ErgSonder, 0, "Man"). "' (00-xx)".
+ "
\n\t\t";
+ }
}
elseif( (mysql_num_rows( $ErgSonder) == 1) )
{