[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc class.boaccounts.inc.php class.uiacco...
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] admin/inc class.boaccounts.inc.php class.uiacco... |
Date: |
Mon, 27 Nov 2006 18:03:43 +0000 |
CVSROOT: /sources/phpgroupware
Module name: admin
Changes by: Sigurd Nes <sigurdne> 06/11/27 18:03:42
Modified files:
inc : class.boaccounts.inc.php
class.uiaccounts.inc.php
Log message:
notice
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.boaccounts.inc.php?cvsroot=phpgroupware&r1=1.55&r2=1.56
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.uiaccounts.inc.php?cvsroot=phpgroupware&r1=1.66&r2=1.67
Patches:
Index: class.boaccounts.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- class.boaccounts.inc.php 3 Oct 2006 14:06:11 -0000 1.55
+++ class.boaccounts.inc.php 27 Nov 2006 18:03:42 -0000 1.56
@@ -9,7 +9,7 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
- /* $Id: class.boaccounts.inc.php,v 1.55 2006/10/03 14:06:11 skwashd Exp
$ */
+ /* $Id: class.boaccounts.inc.php,v 1.56 2006/11/27 18:03:42 sigurdne
Exp $ */
//FIXME define constants for rights so we can fuck all these magic
numbers
@@ -369,7 +369,7 @@
$error[] = lang ('File space must be an
integer');
}
*/
- if(is_array($error))
+ if(isset($error) && is_array($error))
{
return $error;
}
Index: class.uiaccounts.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.uiaccounts.inc.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- class.uiaccounts.inc.php 2 Oct 2006 10:23:27 -0000 1.66
+++ class.uiaccounts.inc.php 27 Nov 2006 18:03:42 -0000 1.67
@@ -9,7 +9,7 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
- /* $Id: class.uiaccounts.inc.php,v 1.66 2006/10/02 10:23:27 Caeies Exp
$ */
+ /* $Id: class.uiaccounts.inc.php,v 1.67 2006/11/27 18:03:42 sigurdne
Exp $ */
class uiaccounts
{
@@ -48,12 +48,12 @@
function list_groups()
{
- if ($_POST['done'] ||
$GLOBALS['phpgw']->acl->check('group_access', PHPGW_ACL_READ,'admin'))
+ if ((isset($_POST['done']) && $_POST['done']) ||
$GLOBALS['phpgw']->acl->check('group_access', PHPGW_ACL_READ,'admin'))
{
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction=admin.uimainscreen.mainscreen');
}
- if($_POST['add'])
+ if(isset($_POST['add']) && $_POST['add'])
{
$GLOBALS['phpgw']->redirect_link('/index.php',
array('menuaction' => 'admin.uiaccounts.edit_group', 'account_id' => 0) );
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] admin/inc class.boaccounts.inc.php class.uiacco...,
Sigurd Nes <=