diff --git a/inc/processmaker.class.php b/inc/processmaker.class.php
index f2c4172..9dd59d4 100644
--- a/inc/processmaker.class.php
+++ b/inc/processmaker.class.php
@@ -3467,7 +3467,7 @@ public function getGLPIGroupIdForSelfServiceTask ($caseId, $pmTaskId) {
// AND TAS_ASSIGN_TYPE='SELF_SERVICE';";
$query = ['SELECT' => 'TAS_GROUP_VARIABLE',
'FROM' => 'TASK',
- 'WHERE' => ['TAS_UID' => '$pmTaskId',
+ 'WHERE' => ['TAS_UID' => $pmTaskId,
'TAS_ASSIGN_TYPE' => 'SELF_SERVICE']];
//$req = $PM_DB->query($query);
//$row = $PM_DB->fetchAssoc($req);
diff --git a/processmaker.xml b/processmaker.xml
index 477d6e7..fd72d7b 100644
--- a/processmaker.xml
+++ b/processmaker.xml
@@ -41,7 +41,7 @@
9.4
- 4.0.3
+ 4.0.4
9.5
diff --git a/setup.php b/setup.php
index d2d8ef0..a4a02e2 100644
--- a/setup.php
+++ b/setup.php
@@ -1,6 +1,6 @@