|
@@ -88,6 +88,10 @@ class User {
|
|
|
{
|
|
|
$limit = $limit . ',' . $total;
|
|
|
$ids = $this->objDUserInfo -> findIdsBy(array(), $limit);
|
|
|
+
|
|
|
+ if (!$ids) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
$userData = $this->objDUserInfo -> gets($ids);
|
|
|
|
|
@@ -100,10 +104,8 @@ class User {
|
|
|
) );
|
|
|
}
|
|
|
}
|
|
|
- return true;
|
|
|
}
|
|
|
-
|
|
|
- return false;
|
|
|
+ return true;
|
|
|
}
|
|
|
|
|
|
|