[20881] stop complaining about expecting integer - getting string

Sigurd Nes <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20881
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20881
Author:   sigurdne
Date:     2009-11-22 19:44:07 +0000 (Sun, 22 Nov 2009)
Log Message:
-----------
stop complaining about expecting integer - getting string

Modified Paths:
--------------
    modules/email/trunk/inc/class.mail_dcom_imap.inc.php

Modified: modules/email/trunk/inc/class.mail_dcom_imap.inc.php
===================================================================
--- modules/email/trunk/inc/class.mail_dcom_imap.inc.php	2009-11-22 19:42:11 UTC (rev 20880)
+++ modules/email/trunk/inc/class.mail_dcom_imap.inc.php	2009-11-22 19:44:07 UTC (rev 20881)
@@ -93,7 +93,7 @@
 			return imap_fetchbody($stream,$msgnr,$partnr,$flags);
 		}
 
-		function header($stream,$msg_nr,$fromlength='',$tolength='',$defaulthost='')
+		function header($stream,$msg_nr,$fromlength=0,$tolength=0,$defaulthost='')
 		{
 			// do we need to temporarily switch to regular msg num sequence for this function?
 			if ($this->force_msg_uids == True)
@@ -251,7 +251,7 @@
 			return imap_search($stream,$criteria,$flags);
 		}
 		
-		function sort($stream,$criteria,$reverse='',$flags=0)
+		function sort($stream,$criteria,$reverse=0,$flags=0)
 		{
 			// do we force use of msg UID's 
 			if ( ($this->force_msg_uids == True)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.