[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc class.bo_custom.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] admin/inc class.bo_custom.inc.php |
Date: |
Mon, 09 Oct 2006 11:51:10 +0000 |
CVSROOT: /sources/phpgroupware
Module name: admin
Changes by: Sigurd Nes <sigurdne> 06/10/09 11:51:10
Modified files:
inc : class.bo_custom.inc.php
Log message:
Clean up
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.bo_custom.inc.php?cvsroot=phpgroupware&r1=1.2&r2=1.3
Patches:
Index: class.bo_custom.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.bo_custom.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- class.bo_custom.inc.php 3 Apr 2006 19:18:59 -0000 1.2
+++ class.bo_custom.inc.php 9 Oct 2006 11:51:10 -0000 1.3
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage admin
- * @version $Id: class.bo_custom.inc.php,v 1.2 2006/04/03 19:18:59
sigurdne Exp $
+ * @version $Id: class.bo_custom.inc.php,v 1.3 2006/10/09 11:51:10
sigurdne Exp $
*/
/**
@@ -130,7 +130,7 @@
$this->start = $data['start'];
$this->query = $data['query'];
- $this->filter = $data['filter'];
+ // $this->filter = $data['filter'];
$this->sort = $data['sort'];
$this->order = $data['order'];
$this->location = $data['location'];
@@ -183,16 +183,12 @@
$this->so->resort_attrib(array('resort'=>$resort,'appname' =>
$this->appname,'location' => $this->location,'id'=>$id));
}
- function save_attrib($attrib,$action='')
+ function save_attrib($attrib)
{
- if ($action=='edit')
- {
- if ($attrib['id'] != '')
+ if (isset($values['id']) && $values['id'])
{
-
$receipt =
$this->so->edit_attrib($attrib);
}
- }
else
{
$receipt = $this->so->add_attrib($attrib);
- [Phpgroupware-cvs] admin/inc class.bo_custom.inc.php,
Sigurd Nes <=