Completed
Push — master ( b7b643...e1b058 )
by Andreas
08:54
created
lib/org/openpsa/projects/task/resource.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
     private function _find_duplicates()
27 27
     {
28 28
         $qb = org_openpsa_projects_task_resource_dba::new_query_builder();
29
-        $qb->add_constraint('person', '=', (int)$this->person);
30
-        $qb->add_constraint('task', '=', (int)$this->task);
31
-        $qb->add_constraint('orgOpenpsaObtype', '=', (int)$this->orgOpenpsaObtype);
29
+        $qb->add_constraint('person', '=', (int) $this->person);
30
+        $qb->add_constraint('task', '=', (int) $this->task);
31
+        $qb->add_constraint('orgOpenpsaObtype', '=', (int) $this->orgOpenpsaObtype);
32 32
 
33 33
         if ($this->id)
34 34
         {
35
-            $qb->add_constraint('id', '<>', (int)$this->id);
35
+            $qb->add_constraint('id', '<>', (int) $this->id);
36 36
         }
37 37
 
38 38
         return ($qb->count() > 0);
Please login to merge, or discard this patch.