[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10915]
From: |
Torstein |
Subject: |
[Fmsystem-commits] [10915] |
Date: |
Mon, 18 Feb 2013 13:31:58 +0000 |
Revision: 10915
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10915
Author: vator
Date: 2013-02-18 13:31:53 +0000 (Mon, 18 Feb 2013)
Log Message:
-----------
Modified Paths:
--------------
trunk/controller/inc/class.uicalendar.inc.php
Modified: trunk/controller/inc/class.uicalendar.inc.php
===================================================================
--- trunk/controller/inc/class.uicalendar.inc.php 2013-02-18 13:29:14 UTC
(rev 10914)
+++ trunk/controller/inc/class.uicalendar.inc.php 2013-02-18 13:31:53 UTC
(rev 10915)
@@ -740,7 +740,10 @@
if (empty($location_code))
{
$my_locations =
$this->location_finder->get_responsibilities($criteria);
- $location_code =
$my_locations[0]["location_code"];
+ if( count($my_locations) > 0 )
+ {
+ $location_code = $my_locations[0]["location_code"];
+ }
}
return $location_code;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10915],
Torstein <=