phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.sodocument.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.sodocument.inc.php
Date: Mon, 06 Mar 2006 14:02:19 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/06 14:02:19

Modified files:
        inc            : class.sodocument.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/class.sodocument.inc.php.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: property/inc/class.sodocument.inc.php
diff -u property/inc/class.sodocument.inc.php:1.9 
property/inc/class.sodocument.inc.php:1.10
--- property/inc/class.sodocument.inc.php:1.9   Mon Jan 30 22:14:19 2006
+++ property/inc/class.sodocument.inc.php       Mon Mar  6 14:02:19 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage document
-       * @version $Id: class.sodocument.inc.php,v 1.9 2006/01/30 22:14:19 
sigurdne Exp $
+       * @version $Id: class.sodocument.inc.php,v 1.10 2006/03/06 14:02:19 
sigurdne Exp $
        */
 
        /**
@@ -23,7 +23,7 @@
                {
                        $this->currentapp       = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->account          = 
$GLOBALS['phpgw_info']['user']['account_id'];
-                       $this->bocommon         = 
CreateObject($this->currentapp.'.bocommon',True);
+                       $this->bocommon         = 
CreateObject($this->currentapp.'.bocommon');
                        $this->db               = $this->bocommon->new_db();
                        $this->db2              = $this->bocommon->new_db();
                        $this->historylog       = 
CreateObject($this->currentapp.'.historylog','document');
@@ -217,7 +217,7 @@
                                $query = ereg_replace("'",'',$query);
                                $query = ereg_replace('"','',$query);
 
-                               $querymethod = " $where (fm_document.address 
$this->like '%$query%' or fm_document.location_code $this->like '%$query%')";
+                               $querymethod = " $where (fm_document.address 
$this->like '%$query%' or fm_document.location_code $this->like '$query%')";
                        }
 
 
@@ -284,7 +284,7 @@
                                $ordermethod = ' order by location_code ASC';
                        }
 
-                       $filtermethod = " fm_document.location_code $this->like 
'%$location_code%'";
+                       $filtermethod = " fm_document.location_code $this->like 
'$location_code%'";
 
                        if ($doc_type > 0)
                        {




reply via email to

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