fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14871] booking: fix cron-job


From: Sigurd Nes
Subject: [Fmsystem-commits] [14871] booking: fix cron-job
Date: Tue, 29 Mar 2016 11:32:31 +0000

Revision: 14871
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14871
Author:   sigurdne
Date:     2016-03-29 11:32:26 +0000 (Tue, 29 Mar 2016)
Log Message:
-----------
booking: fix cron-job

Modified Paths:
--------------
    trunk/booking/inc/class.socompleted_reservation.inc.php

Modified: trunk/booking/inc/class.socompleted_reservation.inc.php
===================================================================
--- trunk/booking/inc/class.socompleted_reservation.inc.php     2016-03-29 
08:21:34 UTC (rev 14870)
+++ trunk/booking/inc/class.socompleted_reservation.inc.php     2016-03-29 
11:32:26 UTC (rev 14871)
@@ -190,7 +190,7 @@
                                case 'allocation':
                                        return 
$this->get_building_for_season($reservation['season_id']);
                                case 'event':
-                                       return count($reservation['resources']) 
> 0 ? $this->get_building_for_resource($reservation['resources'][0]) : '';
+                                       return array('id' => 
$reservation['building_id'], 'name' => $reservation['building_name'] );
                        }
 
                        return '';




reply via email to

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