zahlen as zahlen behandeln

git-svn-id: svn://svn.cccv.de/engel-system@197 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2006-12-03 22:30:21 +00:00
parent 7512e8b5e7
commit 34b50a61f8
1 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ case 'newsave':
foreach ( $lenArrayDummy as $Temp ) foreach ( $lenArrayDummy as $Temp )
{ {
if( isset($Temp2) ) if( isset($Temp2) )
$lenArray[$Temp2] = $Temp-$Temp2; $lenArray[$Temp2] = intval($Temp)-intval($Temp2);
$Temp2 = $Temp; $Temp2 = $Temp;
}//foreach }//foreach
@ -182,7 +182,7 @@ case 'newsave':
echo "</tr>\n"; echo "</tr>\n";
$DateEnd = $_GET["SDatum"]; $DateEnd = $_GET["SDatum"];
$TimeEnd = $_GET["STime"]; $TimeEnd = intval($_GET["STime"]);
$len=0; $len=0;
do do
{ {
@ -216,7 +216,7 @@ case 'newsave':
CreateNewEntry(); CreateNewEntry();
if( $_GET["MoreThenOne"]!="ON" ) break; if( $_GET["MoreThenOne"]!="ON" ) break;
if( $DateEnd == $_GET["EDatum"] && $TimeEnd >= $_GET["ETime"] ) break; if( $DateEnd >= $_GET["EDatum"] && $TimeEnd >= intval($_GET["ETime"]) ) break;
} while( true ); } while( true );
echo "</table>"; echo "</table>";