diff options
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 2 |
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."); |