[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9862] Fixed error when viewing a new organization ba
From: |
Erik Holm-Larsen |
Subject: |
[Fmsystem-commits] [9862] Fixed error when viewing a new organization backend |
Date: |
Wed, 15 Aug 2012 12:24:21 +0000 |
Revision: 9862
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9862
Author: erikhl
Date: 2012-08-15 12:24:20 +0000 (Wed, 15 Aug 2012)
Log Message:
-----------
Fixed error when viewing a new organization backend
Modified Paths:
--------------
trunk/activitycalendar/templates/base/organization.php
Modified: trunk/activitycalendar/templates/base/organization.php
===================================================================
--- trunk/activitycalendar/templates/base/organization.php 2012-08-15
12:17:34 UTC (rev 9861)
+++ trunk/activitycalendar/templates/base/organization.php 2012-08-15
12:24:20 UTC (rev 9862)
@@ -42,9 +42,12 @@
<?php }?>
</select>
<?php }else{
-
if($organization->get_change_type() == 'new'){?>
+
if($organization->get_change_type() == 'new'){
+
if($organization->get_district()){?>
<?php echo
activitycalendar_soactivity::get_instance()->get_district_from_id($organization->get_district());?>
- <?php }else{
+ <?php }
+
+ }else{
if($organization->get_district() &&
is_numeric($organization->get_district())){?>
<?php echo
activitycalendar_soactivity::get_instance()->get_district_from_id($organization->get_district());?>
<?php }else{?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9862] Fixed error when viewing a new organization backend,
Erik Holm-Larsen <=