fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16765] more on eventplanner


From: sigurdne
Subject: [Fmsystem-commits] [16765] more on eventplanner
Date: Mon, 22 May 2017 11:39:25 -0400 (EDT)

Revision: 16765
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16765
Author:   sigurdne
Date:     2017-05-22 11:39:24 -0400 (Mon, 22 May 2017)
Log Message:
-----------
more on eventplanner

Modified Paths:
--------------
    trunk/eventplanner/inc/model/class.customer.inc.php

Modified: trunk/eventplanner/inc/model/class.customer.inc.php
===================================================================
--- trunk/eventplanner/inc/model/class.customer.inc.php 2017-05-21 18:00:29 UTC 
(rev 16764)
+++ trunk/eventplanner/inc/model/class.customer.inc.php 2017-05-22 15:39:24 UTC 
(rev 16765)
@@ -223,7 +223,12 @@
                                        'query' => true,
                                        'sf_validator' => 
createObject('booking.sfValidatorNorwegianOrganizationNumber', array(), 
array('invalid' => '%field% is invalid')),
                                        'label' => 'organization number'
-                                       ),
+                                       )
+                       );
+
+                       if($currentapp == 'eventplanner')
+                       {
+                               $backend_fields = array(
                                        'max_events' => array(
                                                'action'=> PHPGW_ACL_ADD | 
PHPGW_ACL_EDIT,
                                                'type' => 'int',
@@ -230,12 +235,7 @@
                                                'required' => true,
                                                'query' => false,
                                                'label' => 'maximum number of 
events',
-                                       )
-                       );
-
-                       if($currentapp == 'eventplanner')
-                       {
-                               $backend_fields = array(
+                                       ),
                                        'active' => array('action'=> 
PHPGW_ACL_ADD | PHPGW_ACL_EDIT,
                                                'type' => 'int',
                                                'history'       => true




reply via email to

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