fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17281] typehinting when call to object


From: sigurdne
Subject: [Fmsystem-commits] [17281] typehinting when call to object
Date: Wed, 8 Nov 2017 05:57:54 -0500 (EST)

Revision: 17281
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17281
Author:   sigurdne
Date:     2017-11-08 05:57:54 -0500 (Wed, 08 Nov 2017)
Log Message:
-----------
typehinting when call to object

Modified Paths:
--------------
    trunk/rental/inc/class.socomposite.inc.php

Modified: trunk/rental/inc/class.socomposite.inc.php
===================================================================
--- trunk/rental/inc/class.socomposite.inc.php  2017-11-07 18:14:20 UTC (rev 
17280)
+++ trunk/rental/inc/class.socomposite.inc.php  2017-11-08 10:57:54 UTC (rev 
17281)
@@ -414,12 +414,12 @@
                                        }
                                        else
                                        {
-                                               $location = new 
rental_property_location($location_code, null, 1, array());
+                                               $location = new 
rental_property_location($location_code, '', 1, array());
                                        }
                                }
                                catch (Exception $e)
                                {
-                                       $location = new 
rental_property_location($location_code, null, 1, array());
+                                       $location = new 
rental_property_location($location_code, '', 1, array());
                                }
                                $composite->add_unit(new 
rental_unit($this->unmarshal($this->db->f('unit_id', true), 'int'), 
$composite_id, $location));
                        }




reply via email to

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