fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17652] property: generic add


From: sigurdne
Subject: [Fmsystem-commits] [17652] property: generic add
Date: Sat, 20 Jan 2018 05:30:00 -0500 (EST)

Revision: 17652
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17652
Author:   sigurdne
Date:     2018-01-20 05:30:00 -0500 (Sat, 20 Jan 2018)
Log Message:
-----------
property: generic add

Modified Paths:
--------------
    trunk/property/inc/class.bogeneric.inc.php
    trunk/property/inc/class.sogeneric.inc.php

Modified: trunk/property/inc/class.bogeneric.inc.php
===================================================================
--- trunk/property/inc/class.bogeneric.inc.php  2018-01-20 04:01:16 UTC (rev 
17651)
+++ trunk/property/inc/class.bogeneric.inc.php  2018-01-20 10:30:00 UTC (rev 
17652)
@@ -203,7 +203,7 @@
                                $values['attributes'] = 
$this->custom->find($this->location_info['acl_app'], $system_location, 0, '', 
'ASC', 'attrib_sort', true, true);
                        }
 
-                       if (isset($data['id']) && $data['id'] || (int) 
$data['id'] ===0 )
+                       if (isset($data['id']) && $data['id'] || 
(string)$data['id'] ==='0' )
                        {
                                $values = $this->so->read_single($data, 
$values);
                        }

Modified: trunk/property/inc/class.sogeneric.inc.php
===================================================================
--- trunk/property/inc/class.sogeneric.inc.php  2018-01-20 04:01:16 UTC (rev 
17651)
+++ trunk/property/inc/class.sogeneric.inc.php  2018-01-20 10:30:00 UTC (rev 
17652)
@@ -334,7 +334,7 @@
                                                        ),
                                                        'edit_msg' => 
lang('edit'),
                                                        'add_msg' => 
lang('add'),
-                                                       'name' => '',
+                                                       'name' => 
lang('category'),
                                                        'acl_app' => 'property',
                                                        'acl_location' => 
'.admin',
                                                        'menu_selection' => 
"admin::property::location::location::category_{$type_id}"




reply via email to

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