phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #3649] so_sql read function


From: nobody
Subject: [Phpgroupware-tracker] [bug #3649] so_sql read function
Date: Fri, 04 Jul 2003 14:54:08 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

=================== BUG #3649: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3649&group_id=509

Changes by: tbsky lee <address@hidden>
Date: Fri 07/04/03 at 18:54 (GMT)

------------------ Additional Follow-up Comments ----------------------------
Hi ralf:
i put my patch here, in case maybe someday u will update
the so_sql function :)
i try to make so_sql more useful (but compatiable with old one) i make changes 
below:
  1. remove a redundant line (var $non_db_cols = array();)
  2. make read function process scalar value, as ur comment say.
  3. make search function work on "NULL" values. i use  "array_key_exists" for 
this, which need php 4.1.



------------------ Additional Bug Attachment  ----------------------------
File name: so_sql.diff.txt                Size:1 KB
so_sql patch
http://savannah.gnu.org/bugs/download.php?group_id=509&amp;bug_id=3649&amp;bug_file_id=512



=================== BUG #3649: FULL BUG SNAPSHOT ===================


Submitted by: tbsky                   Project: phpGroupWare                 
Submitted on: Sat 05/17/03 at 07:51
Category:  eTemplates                 Bug Group:  0.9.14.003 release        
Severity:  5 - Major                  Priority:  Low                        
Resolution:  None                     Assigned to:  ralfbecker              
Status:  Open                         Component Version:  None              
Platform Version:  Linux - Mandrake   Reproducibility:  Every Time          

Summary:  so_sql read function

Original Submission:  hi:
  read function seems only accept array as key.
  although the doc says it can accept scalar value.

ex:
  if "serial" is the only primary key with $table 

  read($table,array(serial =>1)) works fine
  read($table,1) didn't work. 

Follow-up Comments
*******************

-------------------------------------------------------
Date: Fri 07/04/03 at 18:54         By: tbsky
Hi ralf:
i put my patch here, in case maybe someday u will update
the so_sql function :)
i try to make so_sql more useful (but compatiable with old one) i make changes 
below:
  1. remove a redundant line (var $non_db_cols = array();)
  2. make read function process scalar value, as ur comment say.
  3. make search function work on "NULL" values. i use  "array_key_exists" for 
this, which need php 4.1.




CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Fri 07/04/03 at 18:54  Name: so_sql.diff.txt  Size: 1KB   By: tbsky
so_sql patch
http://savannah.gnu.org/bugs/download.php?group_id=509&amp;bug_id=3649&amp;bug_file_id=512


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3649&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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