RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > SVN Releases > Issues & Bugs

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-16-2006, 03:26 AM
Registered User
 
Join Date: Oct 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Quota becomes "Array" when moving/deleting

Hi guys, congratulations for the good work, roundcube is an impressive webmail solution compared to the "beta" status !
I found a bug (in beta 2 and svn rev. 360) so i registered there to help: when you delete or move a message, quota image will be replaced by "Array", which is normal because in program/steps/mail the following line (line 76) is wrong:
Code:
$commands .= sprintf("this.set_quota('%s');\n", $IMAP->get_quota());
get_quota returns an array from the imap class.
So I've tried to replace that line:
Code:
$commands .= sprintf("this.set_quota('%s');\n", rcmail_quota_display(Array('display' => 'image')));
And the quota image is back.

However i'm not sure of the array parameter (might be in a global that i didn't see).
Keep up the good worl !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-06-2006, 11:25 AM
Registered User
 
Join Date: Aug 2006
Posts: 17
Downloads: 0
Uploads: 0
Default Re: Quota becomes "Array" when moving/deleting

Thank you for the patch, it works fine
Just to add its file move_del.inc you have to edit in the program/steps/mail dir, although its obvious
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 07:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community