summaryrefslogtreecommitdiff
path: root/www-ssl/admin
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-12-03 22:30:21 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-12-03 22:30:21 +0000
commit34b50a61f8ec080d66449b7c644e5098102e2145 (patch)
treeecec9657fe723ff28b44a6b8c0cb9cd654867ea7 /www-ssl/admin
parent7512e8b5e7a4a5229cda1a1165e98577712f56b4 (diff)
zahlen as zahlen behandeln
git-svn-id: svn://svn.cccv.de/engel-system@197 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/admin')
-rwxr-xr-xwww-ssl/admin/shiftadd.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/www-ssl/admin/shiftadd.php b/www-ssl/admin/shiftadd.php
index 16a64675..e873f5e0 100755
--- a/www-ssl/admin/shiftadd.php
+++ b/www-ssl/admin/shiftadd.php
@@ -163,7 +163,7 @@ case 'newsave':
foreach ( $lenArrayDummy as $Temp )
{
if( isset($Temp2) )
- $lenArray[$Temp2] = $Temp-$Temp2;
+ $lenArray[$Temp2] = intval($Temp)-intval($Temp2);
$Temp2 = $Temp;
}//foreach
@@ -182,7 +182,7 @@ case 'newsave':
echo "</tr>\n";
$DateEnd = $_GET["SDatum"];
- $TimeEnd = $_GET["STime"];
+ $TimeEnd = intval($_GET["STime"]);
$len=0;
do
{
@@ -216,7 +216,7 @@ case 'newsave':
CreateNewEntry();
if( $_GET["MoreThenOne"]!="ON" ) break;
- if( $DateEnd == $_GET["EDatum"] && $TimeEnd >= $_GET["ETime"] ) break;
+ if( $DateEnd >= $_GET["EDatum"] && $TimeEnd >= intval($_GET["ETime"]) ) break;
} while( true );
echo "</table>";