fix(workers): save affiliation status correctly

This issue didn't affect the functioning of the program because it would
only occur if the |$internal| flag was set to true (and it is never set
to true). Thus, this CL prevents this issue from happening in the
future.

GitOrigin-RevId: 7d2069d803675a2ab5ebeada30fbbd03ad112533
diff --git a/src/inc/workers.php b/src/inc/workers.php
index f004286..a180022 100644
--- a/src/inc/workers.php
+++ b/src/inc/workers.php
@@ -143,7 +143,8 @@
     $stime = (int)$day;
     $sstatus = (int)$status;
 
-    if ((!$internal && !in_array($sstatus, self::$affiliationStatusesManual)) || ($internal && !in_array($affiliationStatuses))) return false;
+    if (!$internal && !in_array($sstatus, self::$affiliationStatusesManual)) return false;
+    if ($internal && !in_array($sstatus, self::$affiliationStatuses)) return false;
 
     if (!workers::exists($sid)) return false;
 
@@ -157,7 +158,8 @@
     $stime = (int)$day;
     $sstatus = (int)$status;
 
-    if ((!$internal && !in_array($sstatus, self::$affiliationStatusesManual)) || ($internal && !in_array($affiliationStatuses))) return false;
+    if (!$internal && !in_array($sstatus, self::$affiliationStatusesManual)) return false;
+    if ($internal && !in_array($sstatus, self::$affiliationStatuses)) return false;
 
     if (!self::existsWorkHistoryItem($id)) return false;