[pLog-svn] r6742 - plog/branches/lifetype-1.2/class/dao/userdata
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Tue Nov 18 22:49:35 EST 2008
Author: jondaley
Date: 2008-11-18 22:49:34 -0500 (Tue, 18 Nov 2008)
New Revision: 6742
Modified:
plog/branches/lifetype-1.2/class/dao/userdata/vbb3userdataprovider.class.php
Log:
fix error message when no results available. http://forums.lifetype.net/viewtopic.php?f=7&t=9317
Modified: plog/branches/lifetype-1.2/class/dao/userdata/vbb3userdataprovider.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/userdata/vbb3userdataprovider.class.php 2008-11-10 14:23:42 UTC (rev 6741)
+++ plog/branches/lifetype-1.2/class/dao/userdata/vbb3userdataprovider.class.php 2008-11-19 03:49:34 UTC (rev 6742)
@@ -675,12 +675,11 @@
$result3 = $this->_dbc->Execute( $query3);
-
-
- while ($info = $result3->FetchRow( $result3 ))
- array_push( $users, $this->_mapUserInfoObject( $info ));
- $result3->Close();
-
+ if($result3){
+ while ($info = $result3->FetchRow( $result3 ))
+ array_push( $users, $this->_mapUserInfoObject( $info ));
+ $result3->Close();
+ }
return $users;
}
}
More information about the pLog-svn
mailing list