[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php |
Date: |
Wed, 24 Jan 2007 15:58:50 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: addressbook
Changes by: Caeies <Caeies> 07/01/24 15:58:50
Modified files:
inc : class.uiaddressbook.inc.php
Log message:
E_ALL fix for old_data
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/class.uiaddressbook.inc.php?cvsroot=phpgroupware&r1=1.77&r2=1.78
Patches:
Index: class.uiaddressbook.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- class.uiaddressbook.inc.php 27 Dec 2006 05:40:57 -0000 1.77
+++ class.uiaddressbook.inc.php 24 Jan 2007 15:58:50 -0000 1.78
@@ -12,7 +12,7 @@
* option) any later version. *
\**************************************************************************/
-/* $Id: class.uiaddressbook.inc.php,v 1.77 2006/12/27 05:40:57 skwashd Exp $ */
+/* $Id: class.uiaddressbook.inc.php,v 1.78 2007/01/24 15:58:50 Caeies Exp $ */
class uiaddressbook
@@ -623,8 +623,11 @@
//validate if add/edit/delete functions would be run
$this->managment_functions($this->action);
- //save the old tab data
+ //save the old tab data if they exists
+ if(isset($this->entry['old_tab']))
+ {
$this->save_tab_session(stripslashes($this->entry['old_tab']),
$this->entry);
+ }
//if not exist tab selected use as defaul person_data
if(!$this->tab)
@@ -841,8 +844,11 @@
//validate if add/edit/delete functions would be run
$this->managment_functions($this->action);
- //save the old tab data
+ //save the old tab data if it exists
+ if(isset($this->entry['old_tab']))
+ {
$this->save_tab_session(stripslashes($this->entry['old_tab']),
$this->entry);
+ }
//if not exist tab selected use as defaul person_data
if(!$this->tab)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php,
Caeies <=