[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] notes/inc class.sonotes.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] notes/inc class.sonotes.inc.php |
Date: |
Thu, 28 Dec 2006 04:07:53 +0000 |
CVSROOT: /sources/phpgroupware
Module name: notes
Changes by: Dave Hall <skwashd> 06/12/28 04:07:53
Modified files:
inc : class.sonotes.inc.php
Log message:
notices
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/notes/inc/class.sonotes.inc.php?cvsroot=phpgroupware&r1=1.14&r2=1.15
Patches:
Index: class.sonotes.inc.php
===================================================================
RCS file: /sources/phpgroupware/notes/inc/class.sonotes.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- class.sonotes.inc.php 13 Nov 2006 12:42:57 -0000 1.14
+++ class.sonotes.inc.php 28 Dec 2006 04:07:53 -0000 1.15
@@ -6,7 +6,7 @@
* @copyright Copyright (C) 2000-2003,2005 Free Software Foundation,
Inc. http://www.fsf.org/
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package notes
- * @version $Id: class.sonotes.inc.php,v 1.14 2006/11/13 12:42:57 ceb
Exp $
+ * @version $Id: class.sonotes.inc.php,v 1.15 2006/12/28 04:07:53
skwashd Exp $
*/
@@ -25,7 +25,7 @@
function sonotes()
{
$this->db = $GLOBALS['phpgw']->db;
- $this->db2 = $this->db;
+ $this->db2 = clone($this->db);
$this->grants =
$GLOBALS['phpgw']->acl->get_grants('notes');
$this->account =
$GLOBALS['phpgw_info']['user']['account_id'];
}
@@ -34,13 +34,12 @@
{
if(is_array($data))
{
- $start =
(isset($data['start'])?$data['start']:0);
- $filter =
(isset($data['filter'])?$data['filter']:'none');
- $query =
(isset($data['query'])?$data['query']:'');
- $sort =
(isset($data['sort'])?$data['sort']:'DESC');
- $order =
(isset($data['order'])?$data['order']:'');
- $cat_id =
(isset($data['cat_id'])?$data['cat_id']:0);
- $limit =
(isset($data['limit'])?$data['limit']:True);
+ $start = isset($data['start']) ?
$data['start'] :0 ;
+ $filter = isset($data['filter']) ?
$data['filter'] : 'none';
+ $query = isset($data['query']) ?
$data['query'] : '';
+ $sort = isset($data['sort']) ? $data['sort']
: 'DESC';
+ $order = isset($data['order']) ?
$data['order'] : '';
+ $cat_id = isset($data['cat_id']) ?
$data['cat_id'] : 0;
}
$start = intval($start);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] notes/inc class.sonotes.inc.php,
Dave Hall <=