summaryrefslogtreecommitdiffstats
path: root/lib/debug.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.lib.php')
-rw-r--r--lib/debug.lib.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php
index b2969815..c9e51436 100644
--- a/lib/debug.lib.php
+++ b/lib/debug.lib.php
@@ -61,7 +61,8 @@ function check_database_inserted($dbh,$db_name) {
return false;
}
- if (!Dba::num_rows($db_results)) {
+ // Make sure the whole table is there
+ if (Dba::num_rows($db_results) != '6') {
return false;
}