[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7095] stop looking when missing location
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7095] stop looking when missing location |
Date: |
Wed, 09 Mar 2011 08:09:05 +0000 |
Revision: 7095
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7095
Author: sigurdne
Date: 2011-03-09 08:09:04 +0000 (Wed, 09 Mar 2011)
Log Message:
-----------
stop looking when missing location
Modified Paths:
--------------
trunk/property/inc/class.sodocument.inc.php
Modified: trunk/property/inc/class.sodocument.inc.php
===================================================================
--- trunk/property/inc/class.sodocument.inc.php 2011-03-09 07:47:02 UTC (rev
7094)
+++ trunk/property/inc/class.sodocument.inc.php 2011-03-09 08:09:04 UTC (rev
7095)
@@ -282,6 +282,11 @@
$location_code =
isset($data['location_code'])?$data['location_code']:'';
}
+ if( !$location_code )
+ {
+ return array();
+ }
+
$doc_types = $this->get_sub_doc_types($doc_type);
if ($order)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7095] stop looking when missing location,
Sigurd Nes <=