[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/class.datamine.php, 1.1.2.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/class.datamine.php, 1.1.2.7 |
Date: |
Thu, 3 Jun 2004 08:33:33 +0200 |
Update of /api
Modified Files:
Branch: proposal-branch
class.datamine.php
date: 2004/06/03 06:33:33; author: jengo; state: Exp; lines: +8 -4
Log Message:
I ment to commit this 2 weeks ago, can't remeber why I didn't ... if it breaks
anything, email me and I will roll it back :P
=====================================================================
Index: api/class.datamine.php
diff -u api/class.datamine.php:1.1.2.6 api/class.datamine.php:1.1.2.7
--- api/class.datamine.php:1.1.2.6 Sat May 8 06:08:19 2004
+++ api/class.datamine.php Thu Jun 3 06:33:33 2004
@@ -80,8 +80,10 @@
(
dm_location_to=' .
$GLOBALS['phpgw']->db->qstr($args['location']) . '
AND
- dm_owner=' .
$GLOBALS['phpgw_data']['user']['id'] . '
- )';
+ dm_type=' .
$GLOBALS['phpgw']->db->qstr('S') . '
+ )
+ AND
+ dm_owner=' .
$GLOBALS['phpgw_data']['user']['id'];
if (!is_object($rs =
$GLOBALS['phpgw']->db->execute($sql)))
{
@@ -117,13 +119,15 @@
$args = new safe_args();
$args->set('location_from',REQUIRED,'any');
$args->set('location_to',REQUIRED,'any');
+ $args->set('type',REQUIRED);
$args = $args->get(func_get_args());
$details = array
(
'dm_owner' =>
$GLOBALS['phpgw_data']['user']['id'],
'dm_location_from' => $args['location_from'],
- 'dm_location_to' => $args['location_to']
+ 'dm_location_to' => $args['location_to'],
+ 'dm_type' => $args['type']
);
$sql = 'SELECT * FROM phpgw_datamine'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/class.datamine.php, 1.1.2.7,
nomail <=