fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16190] more on eventplanner


From: sigurdne
Subject: [Fmsystem-commits] [16190] more on eventplanner
Date: Wed, 25 Jan 2017 10:56:43 -0500 (EST)

Revision: 16190
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16190
Author:   sigurdne
Date:     2017-01-25 10:56:43 -0500 (Wed, 25 Jan 2017)
Log Message:
-----------
more on eventplanner

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

Modified: trunk/eventplanner/inc/model/class.booking.inc.php
===================================================================
--- trunk/eventplanner/inc/model/class.booking.inc.php  2017-01-25 08:47:46 UTC 
(rev 16189)
+++ trunk/eventplanner/inc/model/class.booking.inc.php  2017-01-25 15:56:43 UTC 
(rev 16190)
@@ -268,11 +268,11 @@
 
                        $bookings =  
eventplanner_sobooking::get_instance()->read($params);
 
-                       if($entity->customer_id)
+                       if($entity->customer_id) // update
                        {
                                $test_total_tecords = 
(int)$bookings['total_records'];
                        }
-                       else
+                       else // new entry
                        {
                                $test_total_tecords = 
(int)$bookings['total_records'] + 1;
                        }




reply via email to

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