summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rwxr-xr-xinc/UserCVS.php2
-rwxr-xr-xinc/funktion_modem.php2
-rwxr-xr-xinc/funktion_schichtplan.php8
3 files changed, 8 insertions, 4 deletions
diff --git a/inc/UserCVS.php b/inc/UserCVS.php
index 807c8f52..48e4d012 100755
--- a/inc/UserCVS.php
+++ b/inc/UserCVS.php
@@ -5,6 +5,8 @@ if( !isset($Page["Public"])) $Page["Public"]="N";
$Page["Name"] = substr( $_SERVER['PHP_SELF'], strlen($ENGEL_ROOT) );
if( isset( $_SESSION['CVS'][ $Page["Name"] ]))
$Page["CVS"] = $_SESSION['CVS'][ $Page["Name"] ];
+else
+ $Page["CVS"] = "";
if( $DEBUG )
{
diff --git a/inc/funktion_modem.php b/inc/funktion_modem.php
index e9a76e4e..a8ae010d 100755
--- a/inc/funktion_modem.php
+++ b/inc/funktion_modem.php
@@ -3,7 +3,7 @@
$Dev="/dev/ttyS0"; // COM port
$WackupNumber="**3";
-ob_end_flush(); //ausgabe obwohl skript nich in arbeit
+//ob_end_flush(); //ausgabe obwohl skript nich in arbeit
set_time_limit(50000); //Timeout erhöhen;
function DialNumber( $Number )
diff --git a/inc/funktion_schichtplan.php b/inc/funktion_schichtplan.php
index 5d32b42c..6810f6df 100755
--- a/inc/funktion_schichtplan.php
+++ b/inc/funktion_schichtplan.php
@@ -113,9 +113,10 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
///////////////////////////////////////////////////////////////////
// Aus gabe der Schicht
///////////////////////////////////////////////////////////////////
- if( count($Temp) )
- foreach( $Temp as $TempEntry => $TempValue )
- {
+ if( isset($Temp))
+ if( count($Temp) )
+ foreach( $Temp as $TempEntry => $TempValue )
+ {
// ausgabe EngelType
$Spalten.= $EngelTypeID[ $TempValue["TID"] ]. " ";
@@ -331,6 +332,7 @@ function showEmptyShifts( )
$angezeigt = 0;
for ($i=0; ($i<mysql_num_rows($Erg)) && ($angezeigt< 15); $i++)
+ if( isset($RoomID[mysql_result( $Erg, $i, "RID")]))
if( $RoomID[mysql_result( $Erg, $i, "RID")]!="" )
{
$Sql2 = "SELECT `UID` FROM `ShiftEntry` ".