diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index ce72485fb3..7af00a4d0b 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -154,7 +154,7 @@ 'account_lastname' => $this->db->f('account_lastname'), 'account_status' => $this->db->f('account_status'), 'account_expires' => $this->db->f('account_expires'), - 'account_file_space' => $this->db->f('account_file_space'), + 'account_file_space' => $this->db->f('account_file_space') ); } return $accounts; @@ -250,7 +250,7 @@ 'account_lastname' => '', 'account_status' => $account_status, 'account_expires' => mktime(2,0,0,date('n',$expiredate), intval(date('d',$expiredate)), date('Y',$expiredate)), - 'account_file_space' => $phpgw_info['server']['vfs_default_account_size_number'] . "-" . $phpgw_info['server']['vfs_default_account_size_type'], + 'account_file_space' => $phpgw_info['server']['vfs_default_account_size_number'] . "-" . $phpgw_info['server']['vfs_default_account_size_type'] ); $this->create($acct_info); $accountid = $this->name2id($accountname); diff --git a/phpgwapi/inc/class.nextmatchs.inc.php b/phpgwapi/inc/class.nextmatchs.inc.php index db0ea28c40..cb9a1b3480 100644 --- a/phpgwapi/inc/class.nextmatchs.inc.php +++ b/phpgwapi/inc/class.nextmatchs.inc.php @@ -473,7 +473,7 @@ function show_hits($total_records = '',$start) { - global $phpgw_info, $start; + global $phpgw_info; $limit = $this->maxmatchs; diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 9919079648..fe3f714df6 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -155,7 +155,8 @@ global $debugme; if (isset($debugme) && $debugme == 'on') { echo 'debug: '.$text.'
'; } } - print_debug('core functions are done'); + +// print_debug('core functions are done'); /****************************************************************************\ * Quick verification of sane environment * \****************************************************************************/ diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 64a8340cad..1abdf645c4 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -64,7 +64,7 @@ 'account_status' => array('type' => 'char', 'precision' => 1, 'nullable' => false, 'default' => 'A'), 'account_expires' => array('type' => 'int', 'precision' => 4), 'account_type' => array('type' => 'char', 'precision' => 1, 'nullable' => true), - 'account_file_space' => array('type' => 'varchar', 'precision' => 25), + 'account_file_space' => array('type' => 'varchar', 'precision' => 25) ), 'pk' => array('account_id'), 'fk' => array(),