fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6627] Property: temporary fix in case of missing cat


From: Sigurd Nes
Subject: [Fmsystem-commits] [6627] Property: temporary fix in case of missing category at location
Date: Tue, 23 Nov 2010 12:27:23 +0000

Revision: 6627
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6627
Author:   sigurdne
Date:     2010-11-23 12:27:22 +0000 (Tue, 23 Nov 2010)
Log Message:
-----------
Property: temporary fix in case of missing category at location

Modified Paths:
--------------
    trunk/property/inc/class.solocation.inc.php

Modified: trunk/property/inc/class.solocation.inc.php
===================================================================
--- trunk/property/inc/class.solocation.inc.php 2010-11-22 13:33:58 UTC (rev 
6626)
+++ trunk/property/inc/class.solocation.inc.php 2010-11-23 12:27:22 UTC (rev 
6627)
@@ -1134,7 +1134,8 @@
                                $this->cols_return      =       
$this->socommon->fm_cache('cols_return_single_'. $type_id);
                        }
 
-                       $sql .= " {$this->join} fm_location{$type_id}_category 
ON (fm_location{$type_id}.category = fm_location{$type_id}_category.id)";
+                       //FIXME: Make sure all locations are linked to a valid 
category
+                       $sql .= " {$this->left_join} 
fm_location{$type_id}_category ON (fm_location{$type_id}.category = 
fm_location{$type_id}_category.id)";
 
                        $sql .= " WHERE 
fm_location$type_id.location_code='$location_code' ";
 




reply via email to

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