[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [patch #3018] Filemanagers Used Space has a wrong
From: |
Dave Hall |
Subject: |
[Phpgroupware-tracker] [patch #3018] Filemanagers Used Space has a wrong value when Quota is given |
Date: |
Thu, 13 May 2004 21:48:43 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040405 Firefox/0.8 |
This mail is an automated notification from the patch tracker
of the project: phpGroupWare.
/**************************************************************************/
[patch #3018] Latest Modifications:
Changes by:
Dave Hall <address@hidden>
'Date:
Fri 05/14/04 at 01:12 (Australia/Melbourne)
What | Removed | Added
---------------------------------------------------------------------------
Status | Open | Closed
/**************************************************************************/
[patch #3018] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3018>
Project: phpGroupWare
Submitted by: Thorsten Wiggers
On: Thu 05/06/04 at 07:26
Category: filemanager
Priority: 5 - Normal
Resolution: Fixed
Assigned to: skwashd
Originator Email:
Status: Closed
Summary: Filemanagers Used Space has a wrong value when Quota is given
Original Submission: The reason for this is, the quota you can give a user in
the admin section is based on MegaByte. The filemanger uses the value out of
the dropdown box, which could be i.e. 1 (MB), and does not convert it to MB. So
the filemanger calculates with 1 Byte.
Fix:
Line 99 in filemanger index.php
change
$quota=$quota = $GLOBALS['phpgw']->accounts->data['quota'];
to
$quota=$quota = $GLOBALS['phpgw']->accounts->data['quota']*1024*1024;
or
$GLOBALS['phpgw']->accounts->data['quota']*1048576;
Then everything is ok again.
I'm also not sure if it really has to be "$quota=$quota=" or if it's a copy
paste error
Greeting Thorsten
Follow-up Comments
------------------
-------------------------------------------------------
Date: Fri 05/14/04 at 01:09 By: skwashd
applied- but anyone at probiz could have commited this change.
Cheers
Dave
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3018>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/