[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bugs #3649] so_sql read function
From: |
Dave Hall |
Subject: |
[Phpgroupware-tracker] [bugs #3649] so_sql read function |
Date: |
Sun, 06 Jun 2004 19:42:00 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040602 Firefox/0.8 |
This mail is an automated notification from the bugs tracker
of the project: phpGroupWare.
/**************************************************************************/
[bugs #3649] Latest Modifications:
Changes by:
Dave Hall <address@hidden>
'Date:
Sun 06/06/2004 at 23:40 (Australia/Melbourne)
What | Removed | Added
---------------------------------------------------------------------------
Assigned to | None | Caeies
/**************************************************************************/
[bugs #3649] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=3649>
Project: phpGroupWare
Submitted by: tbsky lee
On: Sat 05/17/2003 at 07:51
Category: eTemplates
Item Group: 0.9.14.003 release
Severity: 5 - Average
Priority: 5 - Normal
Resolution: None
Assigned to: Caeies
Status: Open
Component Version: None
Platform Version: GNU/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/2003 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.
File Attachments
-------------------
-------------------------------------------------------
Date: Fri 07/04/2003 at 18:54 Name: so_sql.diff.txt Size: 1KB By: tbsky
so_sql patch
http://savannah.gnu.org/bugs/download.php?item_id=3649&item_file_id=512
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=3649>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-tracker] [bugs #3649] so_sql read function,
Dave Hall <=