[vhffs-dev] [svn] commit: r211 - /trunk/vhffs-api/src/Vhffs/Services/Mail.pm |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Author: soda
Date: Sun Jul 9 15:52:14 2006
New Revision: 211
Log:
Can now list all domains with getall method
Modified:
trunk/vhffs-api/src/Vhffs/Services/Mail.pm
Modified: trunk/vhffs-api/src/Vhffs/Services/Mail.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Mail.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Services/Mail.pm Sun Jul 9 15:52:14 2006
@@ -604,7 +604,7 @@
return undef if( $rows <= 0);
- foreach( $result = $request->fetchrow_hashref() )
+ while( $result = $request->fetchrow_hashref() )
{
$tmp = new Vhffs::Services::Mail( $vhffs , $result->{'domain'} );
push( @{$objs} , $tmp ) if( ( defined ( $tmp ) ) && ( $tmp->fetch > 0 ) )