phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.custom_fields.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.custom_fields.inc.php
Date: Sat, 30 Sep 2006 11:54:40 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/09/30 11:54:40

Modified files:
        inc            : class.custom_fields.inc.php 

Log message:
        notices

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.custom_fields.inc.php?cvsroot=phpgwapi&r1=1.4&r2=1.5

Patches:
Index: class.custom_fields.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.custom_fields.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- class.custom_fields.inc.php 3 Sep 2006 11:14:42 -0000       1.4
+++ class.custom_fields.inc.php 30 Sep 2006 11:54:40 -0000      1.5
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package phpgwapi
-       * @version $Id: class.custom_fields.inc.php,v 1.4 2006/09/03 11:14:42 
skwashd Exp $
+       * @version $Id: class.custom_fields.inc.php,v 1.5 2006/09/30 11:54:40 
skwashd Exp $
        */
 
        /**
@@ -83,7 +83,7 @@
                        $this->join                     = $this->db->join;
                        $this->like                     = $this->db->like;
 
-                       if($this->appname && $$this->location)
+                       if($this->appname && $this->location)
                        {
                                $this->category_name    = 
$this->read_category_name($this->appname, $this->location);
                        }
@@ -466,7 +466,7 @@
                                $querymethod = " AND (phpgw_cust_attribute.name 
$this->like '%$query%' or phpgw_cust_attribute.descr $this->like '%$query%')";
                        }
 
-                       $sql = "FROM phpgw_cust_attribute WHERE 
appname='$appname' AND location = '$location' $filtermethod $querymethod";
+                       $sql = "FROM phpgw_cust_attribute WHERE 
appname='$appname' AND location = '$location' ";
                        if ( $allrows )
                        {
                                $this->db->query("SELECT * $sql" . 
$ordermethod, __LINE__, __FILE__);




reply via email to

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