fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15488] default assigned to


From: sigurdne
Subject: [Fmsystem-commits] [15488] default assigned to
Date: Thu, 18 Aug 2016 11:10:45 +0000 (UTC)

Revision: 15488
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15488
Author:   sigurdne
Date:     2016-08-18 11:10:45 +0000 (Thu, 18 Aug 2016)
Log Message:
-----------
default assigned to

Modified Paths:
--------------
    trunk/property/inc/class.uitts.inc.php

Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php      2016-08-18 01:06:58 UTC (rev 
15487)
+++ trunk/property/inc/class.uitts.inc.php      2016-08-18 11:10:45 UTC (rev 
15488)
@@ -1229,13 +1229,16 @@
                                        }
                                }
 
-
                                if (!$values['assignedto'] && 
!$values['group_id'])
                                {
                                        $_responsible = 
execMethod('property.boresponsible.get_responsible', $values);
                                        if (!$_responsible)
                                        {
-                                               $receipt['error'][] = 
array('msg' => lang('Please select a person or a group to handle the ticket 
!'));
+                                               if(!$values['assignedto'] = 
$GLOBALS['phpgw_info']['user']['preferences']['property']['assigntodefault'])
+                                               {
+                                               
+                                                       $receipt['error'][] = 
array('msg' => lang('Please select a person or a group to handle the ticket 
!'));
+                                               }
                                        }
                                        else
                                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]