diff --git a/vilesci/bis/personalmeldung.php b/vilesci/bis/personalmeldung.php
index 1ed40dc97..ae1a65741 100644
--- a/vilesci/bis/personalmeldung.php
+++ b/vilesci/bis/personalmeldung.php
@@ -61,7 +61,7 @@ $mitarbeiterzahl=0;
$echt=0;
$frei=0;
-$nichtmelden = array(11,91,92,94,999,203,145,204, 308, 182, 222);
+$nichtmelden = array(11,91,92,94,999,203,145,204,308,182,222);
$datumobj=new datum();
@@ -328,7 +328,7 @@ if($result = $db->db_query($qry))
".$row_verwendung['beschausmasscode']."
".$row_verwendung['verwendung_code']."";
- if(isset($row_verwendung['stgltg']))
+ if(isset($row_verwendung['stgltg']) && isset($row_verwendung['verwendung_code']) && $row_verwendung['verwendung_code']==5)
{
foreach($row_verwendung['stgltg'] as $row_stgl)
{
@@ -345,7 +345,7 @@ if($result = $db->db_query($qry))
$person_content.="
".sprintf("%04s",$row_fkt['stgkz'])."
- ".$row_fkt['sws']."";
+ ".number_format($row_fkt['sws'])."";
if($row_fkt['hauptberuflich']=='t')
{
$person_content.="