diff --git backup/restorelib.php backup/restorelib.php
index 84f5f2a..1cf8ac0 100644
--- backup/restorelib.php
+++ backup/restorelib.php
@@ -933,7 +933,8 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
         }
 
         // Get array of users from xml file and load them in backup_ids table
-        if (!$info = restore_read_xml_users($restore,$xml_file)) {
+        $info = restore_read_xml_users($restore,$xml_file);
+        if (empty($info) || !is_array($info)) {
             return true; // No users, nothing to check, allow continue
         }
 
