aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r--engine/lib/database.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index f5e4c64db..0358d9744 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -460,6 +460,8 @@
$sql .= " $fields from ";
}
+ else
+ throw new DatabaseException("Fields missing on a select style query");
}
else
throw new DatabaseException("Unrecognised or unspecified query type.");